Hi all, First, I'm wondering if this is the right place to ask. If not please tell me. I'm new BIRD user, and here my situations: I have Linux boxes (2.2.14) running as a router, have 3 interfaces: eth0, eth1 and eth2 I'd like to use BIRD to automaticaly tell others (machines) how to reach the network behind eth0. My question is how do I make the BIRD and/or Kernel see the route via eth2 instead of eth1. In orther words, I'd like to see the route: 10.12.12.0/24 via 10.218.28.244 dev eth2 NOT 10.12.12.0/24 via 38.218.28.244 dev eth1 <--- unfortunately, this is what I got!!!!!!! :-( Please give advices. Thank you very much. Tom Nguyen The followings are for your information. The "ifconfig" gives: eth0 Link encap:Ethernet HWaddr 00:00:B4:A6:50:A1 inet addr:10.12.12.1 Bcast:10.12.12.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:405 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:10 Base address:0xe400 eth1 Link encap:Ethernet HWaddr 00:60:EF:20:4B:00 inet addr:38.218.28.244 Bcast:38.218.28.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3870 errors:0 dropped:0 overruns:0 frame:0 TX packets:3090 errors:0 dropped:0 overruns:0 carrier:0 collisions:54 txqueuelen:100 Interrupt:12 Base address:0xe800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 eth2 Link encap:Ethernet HWaddr 26:DA:1C:F4:01:00 inet addr:10.218.28.244 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:16 dropped:0 overruns:0 frame:0 TX packets:810 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 My bird.conf looks like: protocol direct { interface "*"; } protocol device { scan time 10; } protocol static{ route 0.0.0.0/0 via 38.218.28.1; } protocol kernel { learn; persist; scan time 20; export all; } protocol ospf { area 0.0.0.0 { interface "*" { type broadcast; authentication simple; password "tom"; }; }; export all; import all; }
Hello!
First, I'm wondering if this is the right place to ask. If not please tell me. I'm new BIRD user, and here my situations:
I have Linux boxes (2.2.14) running as a router, have 3 interfaces: eth0, eth1 and eth2 I'd like to use BIRD to automaticaly tell others (machines) how to reach the network behind eth0. My question is how do I make the BIRD and/or Kernel see the route via eth2 instead of eth1. In orther words, I'd like to see the route: 10.12.12.0/24 via 10.218.28.244 dev eth2 NOT 10.12.12.0/24 via 38.218.28.244 dev eth1 <--- unfortunately, this is what I got!!!!!!! :-(
Where do you receive such routes? On machines connected to eth1 or to eth2? Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "Always remember that you are absolutely unique ... just like everyone else."
participants (2)
-
Martin Mares -
Tom Nguyen