Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cs

Pages: [1]
1
µTasker general / Re: two IPs
« on: May 06, 2008, 01:32:31 AM »
Thanks. i will keep you posted on progress.
Carlos

2
µTasker general / Re: two IPs
« on: May 05, 2008, 05:01:28 PM »
Hi Mark,

Once again thank you. On a PC, normally you can setup your server to listen to one or to all IPs on an interface. That way you could have two HTTP server running on the same PC but will respond differently depending on the IP address used.

Normally the IPs are in different subnets but the default gateway of a PC is unique to both. In my case, I want to encapsulate IP traffic. In my setup:

Internet Router: IP = 192.168.1.1/24
52233 Device :   IP 1 = 192.168.1.10/24
                       IP 2 = 10.1.240.1/24
                       Gateway = 192.168.1.1
VoIP Device:      IP = 10.1.240.2
                       Gateway = 10.1.240.1

On the second IP all I need to support is ARP and raw IP. The device just looks at Ethernet packets to the device MAC and an IP outside the subnet (MAC and IP broadcasts are discarded) encapsulates it in UDP and sends it to another device that does the opposite. The packets it will receive do not even have the 10.1.240.1 IP as the VoIP device thinks it is a gateway that will know how to forward a packet outside its subnet.

The main reason for the device is that my brother´s ISP restricts all kind of VoIP and VPN traffic. This device is a simple way to tunnel part of his traffic trough my ADSL connection though a UDP port. I have a working version with a ATMega128 and a RTL8109 and wrote most of the UDP/IP/ARP code from scratch but throughput is not that good. I though it was a nice project to jump to 32 bits and get to know the Coldfire processor. I also want to do some dynamic DNS update and add some more features so a stable TCP stack will be a great aid.

Thanks for your work and support
Carlos

3
µTasker general / Re: two IPs
« on: May 05, 2008, 01:00:34 PM »
Hi Mark,

Thanks for your answer. I do not need two MACs, I can do with one MAC and two IPs the same way as a PC can have two IPs with only one network interface. The idea is that the network will have two IP ranges, the 52233 will act as the default gateway for certain devices encapsulating the traffic and resending it through the other IP.

Thanks

Carlos

4
µTasker general / two IPs
« on: May 01, 2008, 01:33:20 AM »
I am building a device based on a 52233 to encapsulate ip traffic between  two networks. i need the device to have two IPs (one the ip on the local network and the other on the remote). Is this possible?

Thanks
Carlos

Pages: [1]