Skip to contentSkip to conversation

Bridge works, but how host is limited

Bridge Tom Miller 2 participants 2 messages Nov 16, 2006 Ethernet bridge

lore
Share & tools
lore

Tom Miller

author
#0 lore raw

I've got a bridge up on my Suse 10 box, let's call it the bridge host. The 2 NICs are connected, and my main box (Suse 10.1) can print to the printer on the other side of the bridge host. Everything pings everywhere, i.e. the LAN extends across the bridge as expected. Cool!

I used the basic configuration:

1. ifconfig eth0 0.0.0.0
2. ifconfig eth1 0.0.0.0
3. brctl addbr mybridge
4. brctl addif mybridge eth0
5. brctl addif mybridge eth1

plus:

    ifconfig mybridge 192.168.100.5 netmask 255.255.255.0

On the bridge host, I can browse to an Apache-served web page on my main box, but cannot browse to the Internet or print on the printer. Wonder what is wrong? Any suggestions?

Is there some way to configure the bridge itself as a network device?

Thanks
Tom

Signature · 5 lines
Miller Associates, Inc.
www.meddevsqa.com
VOX IA 641.469.3535
VOX MN 612.284.2833
FAX 413.581.6326
#1 lore raw
Quoted 17 lines · On Wed, 15 Nov 2006 19:16:02 -0600 Tom Miller <[email protected]> wrote:

I've got a bridge up on my Suse 10 box, let's call it the bridge host. The 2 NICs are connected, and my main box (Suse 10.1) can print to the printer on the other side of the bridge host. Everything pings everywhere, i.e. the LAN extends across the bridge as expected. Cool!

I used the basic configuration:

1. ifconfig eth0 0.0.0.0
2. ifconfig eth1 0.0.0.0
3. brctl addbr mybridge
4. brctl addif mybridge eth0
5. brctl addif mybridge eth1

plus:

    ifconfig mybridge 192.168.100.5 netmask 255.255.255.0
Quoted 9 lines

On the bridge host, I can browse to an Apache-served web page on my main box, but cannot browse to the Internet or print on the printer. Wonder what is wrong? Any suggestions?

Is there some way to configure the bridge itself as a network device?

Thanks
Tom

You have no default route. You created a static IP entry, but there is no route to your gateway. If you use DHCP, then it sets up default route as well.