Hi,

Thanks for making OpenBSD so great. It has been my first and only choice for
routers. Recently I’ve just got a fanless PC with 4 NICs and have OpenBSD
6.0 installed on it as a router. Everything is working great except  the LANs
are blind to each other.

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 1a:cc:00:12:b1:9c
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.244.1 netmask 0xffffff00 broadcast 192.168.244.255
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 1a:cc:00:12:b1:9d
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 1a:cc:00:12:b1:9e
        index 3 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
em3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 1a:cc:00:12:b1:9f
        index 4 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
        inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255

em0 has a pppoe, which is the NIC for WAN. My PC is connecting to the router
via em3. The weird thing is my PC can access the Internet yet it timeout
pinging devices on em1 and em2.

$ ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1): 56 data bytes
64 bytes from 192.168.3.1: icmp_seq=0 ttl=255 time=2.114 ms
64 bytes from 192.168.3.1: icmp_seq=1 ttl=255 time=2.045 ms
64 bytes from 192.168.3.1: icmp_seq=2 ttl=255 time=2.419 ms
^C
--- 192.168.3.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 192.168.1.1 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss

$ ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
^C
--- 192.168.2.1 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

The IP Forwarding has been enabled:

# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding=1

The NICs are 4 Intel 82583V. What goes wrong?

Thanks and best regards,
Siegfried

Reply via email to