FreeBSD not routing between VLANs

David Gilbert dgilbert at dclg.ca
Wed Nov 12 13:05:42 PST 2003


>>>>> "Roman" == Roman Volf <volfman at keystreams.com> writes:

Roman> Hello All, I've recently had to replace a Cisco router with a
Roman> freebsd router temporarily as the Cisco decided to start going
Roman> up and down. Here is my configuration:

Roman> fxp0: uplink to ISP fxp1: vlans to my switch

Roman> vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
Roman> 1500 inet x.x.x.1 netmask 0xfffffff0 broadcast x.x.x.15 inet6
Roman> fe80::203:47ff:fe2e:46a0%vlan10 prefixlen 64 scopeid 0x9 ether
Roman> 00:03:47:2e:46:a1 vlan: 10 parent interface: fxp1 vlan20:
Roman> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
Roman> inet x.x.x.17 netmask 0xfffffff0 broadcast x.x.x.31 inet6
Roman> fe80::203:47ff:fe2e:46a0%vlan20 prefixlen 64 scopeid 0xa ether
Roman> 00:03:47:2e:46:a1 vlan: 20 parent interface: fxp1

Umm... netmask x.x.x.15?  FreeBSD uses netmasks in the traditional
sense.  It should likely be 255.255.255.240 and 255.255.255.224

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave at daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================


More information about the freebsd-isp mailing list