Link to home
Start Free TrialLog in
Avatar of TheLoneGunman
TheLoneGunman

asked on

Bridge doesn't work on OpenBSD3.3 - configuration fault?

Hi all

I've a test environment as followed:

internet --- switch ------ <dhcp>OpenBSD3.3<192.168.0.1> ---- switch ---- <192.168.0.100> WinXP
                           |
                           ------ <dhcp>SuSE Linux 8.2

I can ping 192.168.0.1 from the WinXP machine but not the Linux computer nor any ip on the internet.
Is there a mistake in the configuration?

bash-2.05b# cat sysctl.conf | grep net.inet.ip.forwarding
net.inet.ip.forwarding=1        # 1=Permit forwarding (routing) of packets
bash-2.05b# cat hostname.rl0
dhcp
bash-2.05b# cat hostname.rl1
inet 192.168.0.1 255.255.255.0 192.168.0.255
bash-2.05b# cat bridgename.bridge0
add rl0
add rl1
blocknoip rl0
blocknoip rl1
up
bash-2.05b# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:44:4a:84:8e
        media: Ethernet autoselect (100baseTX)
        status: active
        inet6 fe80::202:44ff:fe4a:848e%rl0 prefixlen 64 scopeid 0x1
        inet 217.162.226.162 netmask 0xfffffe00 broadcast 255.255.255.255
rl1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:44:64:09:02
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::202:44ff:fe64:902%rl1 prefixlen 64 scopeid 0x2
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 2020
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=10<POINTOPOINT> mtu 3000
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=41<UP,RUNNING> mtu 1500
bridge1: flags=0<> mtu 1500
vlan0: flags=0<> mtu 1500
        address: 00:00:00:00:00:00
vlan1: flags=0<> mtu 1500
        address: 00:00:00:00:00:00
gre0: flags=9010<POINTOPOINT,LINK0,MULTICAST> mtu 1450
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TheLoneGunman
TheLoneGunman

ASKER

thx gheist
it's all working now
But you can use OpenBSD with bridge and with or without IP address instead of "switch" on the left to filter more traffic (you need 4-port ethernet card in your box most likely).