Bridge eth0 and eth1
Raymond Day
raymondday at hotmail.com
Mon Apr 12 09:02:51 UTC 2004
Hi. I have Fedora running as a server. It's working real good. I have 2 ethernet cards on it. One is a 10/100 and the other a 10/100/1000 What I would like to do is Bridge them. I like to plug my main PC in to the 1000 NIC and my LAN into the 100 NIC like it is now. I just don't know how to set it up. A ifconfig on the 2 NIC I get this:
eth0 Link encap:Ethernet HWaddr 00:0C:F1:97:98:6E
inet addr:192.168.101.10 Bcast:192.168.101.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207880844 errors:0 dropped:0 overruns:0 frame:0
TX packets:118334357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2494787937 (2379.2 Mb) TX bytes:1064255721 (1014.9 Mb)
Interrupt:5 Base address:0xb400 Memory:ff8ef000-ff8ef038
eth1 Link encap:Ethernet HWaddr 00:07:E9:3E:C3:83
inet addr:192.168.100.50 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:354284112 errors:0 dropped:0 overruns:0 frame:0
TX packets:514821395 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2622181163 (2500.7 Mb) TX bytes:3227626141 (3078.1 Mb)
Base address:0xb800 Memory:ff8c0000-ff8e0000
I like to set it up like this because my PC has a 1000 NIC in it too. This way I can do Ethernet fast from my PC to the sever. But I still like to be on my LAN too.
I did this:
brctl addbr mybridge
brctl addif mybridge eth0
brctl addif mybridge eth1
ifconfig eth0 192.168.101.10
ifconfig eth1 192.168.100.50
ifconfig mybridge up
But a brctl show says under enabled no.
I did not have a monitor, mouse, or keyboard on it. When I started to do this I could not get to it any more. So I put a monitor, mouse and keyboard on it. But I still can't connect to it with Ethernet now.
I hope some one can help.
It was working before by using IP tables. But I could not FTP to some things on my LAN then. This is why I like to try and bridge it.
-Raymond Day
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20040412/9405a97a/attachment-0002.html
More information about the users
mailing list