Multiple Network Cards
Leonard Isham
leonard.isham at gmail.com
Wed Oct 27 11:31:50 UTC 2004
On Wed, 27 Oct 2004 12:22:30 +0100 (BST), Jonathan Allen
<jonathan at barumtrading.co.uk> wrote:
> Paul,
>
> > Have a look at the Fedora examples at http://www.shorewall.net/bridge.html
> > (about halfway down the page) for ifcfg-br0 and ifcfg-eth*
>
> OK, I have put the FC scripts in place as ifcfg-eth[012] and ifcfg-br0,
> and put the script as /etc/rc.d/init.d/network
>
> The system seems to come up sane and working internally. However, it
> cannot 'ping' out, or be 'ping'ed in by another machine on the LAN. Both
> say 'no route to host'
>
> ifconfig now says:
>
> br0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
> inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:1302 (1.2 Kb)
>
> eth0 Link encap:Ethernet HWaddr 00:50:22:20:2F:67
> inet6 addr: fe80::250:22ff:fe20:2f67/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:45 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:5 dropped:0 overruns:0 carrier:10
> collisions:0 txqueuelen:1000
> RX bytes:4493 (4.3 Kb) TX bytes:0 (0.0 b)
> Interrupt:11 Base address:0x8c00
>
> eth1 Link encap:Ethernet HWaddr 00:50:22:20:22:03
> inet6 addr: fe80::250:22ff:fe20:2203/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:426 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:5 dropped:0 overruns:0 carrier:10
> collisions:0 txqueuelen:1000
> RX bytes:29611 (28.9 Kb) TX bytes:0 (0.0 b)
> Interrupt:10 Base address:0xa000
>
> eth2 Link encap:Ethernet HWaddr 00:50:22:28:04:59
> inet6 addr: fe80::250:22ff:fe28:459/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:48 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:5 dropped:0 overruns:0 carrier:10
> collisions:0 txqueuelen:1000
> RX bytes:6055 (5.9 Kb) TX bytes:0 (0.0 b)
> Interrupt:5 Base address:0xfc00
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:1847 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1847 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1821804 (1.7 Mb) TX bytes:1821804 (1.7 Mb)
>
> I set the bridge IP address to 192.168.1.64, with a netmask of 255.255.255.0
> The other machine on the LAN is at 192.168.1.10
>
> route says:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0 br0
>
> It seems so close, but something is still missing - any ideas ?
>
> Jonathan
First I have not done bridging on Linux before, but...
Was it working before you set up the bridging?
What do you get with arp -a on both systems.
--
Leonard Isham, CISSP
Ostendo non ostento.
More information about the fedora-list
mailing list