I setup a bridge (without nf patch) like this: [br1] ------------[ROUTER HUB]------------------[br2] | |----------------[10.20.30.0 HUB] ------------| | |--------------------[192.168.0.0 HUB]-------------|My question is how do I configure the workstations in 192.168.0.0/24 and 10.20.30.0/24 networks to get to internet ? I tried to add on br0 192.168.0.1 address and set gateway on 192.168.0.2 workstation to br0 192.168.0.1 added address. but it doesn't work. I can ping the br1 computer but when I try to ping my ROUTER from a WORKSTATION it says: From 192.168.0.1: icmp_seq=2 Redirect Host(New nexthop: xxx.xxx.xxx.xxx)
The whole point of a bridge is that it doesn't change the routing. Without
any firewalling, it acts just like a switch. Therefore you just put the ip
address of the router in as the default gateway.
But how can I put on a 192.168.0.0 workstation default gateway a
computer that is on other network 217.156.7.x ?
Shouldn't gateway be on the same network as workstation ?
ip route add default via 217.156.7.x ... doesn't work:
RTNETLINK answers: Network is unreachable
Any clue will be great.
Thanks for answering me,
Nicu Pavel.
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge
