Hi, I came across this thread http://lists.gnu.org/archive/html/lwip-users/2004-08/msg00006.html to bridge lwip to ethernet So was trying to make it work
This is what i did 1) Connected two laptops over local ethernet 2) Ran the lwip stacks with simhost application in contrib over both machines IP config over 1st machine eth0 inet addr:169.254.4.210 Bcast:169.254.255.255 Mask:255.255.0.0 in simhost.c i changed IP to IP4_ADDR(&gw, 169,254,0,1); IP4_ADDR(&netmask, 255,255,0,0); IP4_ADDR(&ipaddr, 169,254,0,11); IP config over 2nd machine eth0 inet addr:169.254.10.101 Bcast:169.254.255.255 Mask:255.255.0.0 in simhost.c i changed IP to IP4_ADDR(&gw, 169,254,0,2); IP4_ADDR(&netmask, 255,255,0,0); IP4_ADDR(&ipaddr, 169,254,0,12); 3) Executed the simhost code 4) Did the steps as in the link 1st machine sudo ifconfig tap0 0.0.0.0 promisc sudo ifconfig eth0 0.0.0.0 promisc sudo brctl addbr br0 sudo ifconfig br0 169.254.0.10 sudo brctl addif br0 eth0 sudo brctl addif br0 tap0 2nd machine sudo ifconfig tap0 0.0.0.0 promisc sudo ifconfig eth0 0.0.0.0 promisc sudo brctl addbr br0 sudo ifconfig br0 169.254.0.9 sudo brctl addif br0 eth0 sudo brctl addif br0 tap0 5) After these also machines were not able to reach each other and no IP show on eth0 and tap0 interfaces so disconnected and re-connected eth0 and also closed and restarted the simhost applications after which they show their respective IP 6) Now machines can ping each other's eth0 IP , bridge IP , tap0 IP However they are not able to ping each other simhost IP which are 169.254.0.11 and 169.0.254.12 for respective machine So basically after bridging i am able to reach upto the tap (lwip gateway) interface but not upto lwip application. Any help/advice/link would be helpful. Let me know if i missed any other information -- Thanks Regards Saket Chawla
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users