hello, all

My office network use two leased different line, so we have two routers and
two switchs.
I would like to use like this.


routerA routerB
| |
| |
| | 1 bridge firewall
| | | |
switchA switchB

routerA : 192.168.0.0/25
routerB ; 192.168.1.0/24
So, I setup 4 ethernet cards at bridging.
and my brctl config like this.

brctl addbr br0
brctl stp br0 off
brctl addif br0 eth0
brctl addif br0 eth1
brctl addbr br1
brctl stp br1 off
brctl addif br1 eth2
brctl addif br1 eth3
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth2 down
ifconfig eth3 down
ifconfig eth0 0.0.0.0 promisc up
ifconfig eth1 0.0.0.0 promisc up
ifconfig eth2 0.0.0.0 promisc up
ifconfig eth3 0.0.0.0 promisc up
ifconfig lo 127.0.0.1 up
ifconfig br0 192.168.0.1 netmask 255.255.255.127 broadcast 192.168.0.128 promisc up
ifconfig br1 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 promisc up
route add -host 127.0.0.1 dev lo
route add -net 192.168.1.0 netmask 255.255.255.0 dev br1
route add default gw 192.168.0.254
and routing table like this.

Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 br0


I use dhcp in office, but I think dhcp doesn't work well at 192.168.1.0/24.
(But works well 192.168.0.0/24)
and I can't connect br0 interface(192.168.0.1) directly at 192.168.1.0/24 range.
and I can't connect br1 interface outside network directly.

I guess that routing table problem. so I add default gw like this.

route add default gw 192.168.1.126 dev br1

after this, the connect problem is changed alike between 192.168.0.0/24 and 192.168.1.0/24.

what's the problem and how can I solve this problem?



Thanks in advance.



_________________________________________________________________
����� ���ΰ��� �̹��� ���ϲ���, ��¥��... ���ͳ� ���� http://www.msn.co.kr/money/interlotto/
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to