Date: Mon, 7 Aug 2000 10:19:47 +0200 (CEST) From: "Pedro J. Lobo" <pjlobo@euitt.upm.es> To: Bob Van Valzah <Bob@WhiteBarn.Com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: VLAN Config Advice Message-ID: <Pine.BSF.4.21.0008071016390.302-100000@deneb.euitt.upm.es> In-Reply-To: <398C491E.D7ED5E9F@WhiteBarn.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Aug 2000, Bob Van Valzah wrote: > I'm having trouble getting VLANs to work on a 4.1-RELEASE system and > would appreciate any advice from those who have it running. (If I'm able > to get a decent understanding of the issues involved, I may even tackle > writing a section for the Handbook on VLANs.) > > Here's the setup. The physical device is fxp0. I have not applied any > patches to the physical driver for larger MTUs. > > If I don't ifconfig fxp0 and try to go straight to an ifconfig of vlan0, > the kernel panics. (I haven't looked at why yet, but probably could if > somebody thought it'd help.) This a snippet from my rc.conf: network_interfaces="fxp0 vlan0 vlan1 vlan2 lo0" ifconfig_fxp0="up" ifconfig_vlan0="inet 138.100.52.12 netmask 255.255.255.128 vlan 33 vlandev fxp0" ifconfig_vlan1="inet 138.100.52.182 netmask 255.255.255.192 vlan 34 vlandev fxp0" ifconfig_vlan2="inet 10.0.52.112 netmask 255.255.255.0 vlan 1 vlandev fxp0" And it works like a charm. > If I do ifconfig fxp0 first and then ifconfig vlan0 on top of it, I get > a booted system. However, arp issues lots of warning messages about > packets arriving on fxp0 when they should be on vlan0 and I can't ping > the box. Hmmm, I've been using simultaneously fxp0 (i.e., without tag) and vlan0 (tagged, hooked on fxp0) without any problems. Are you sure you are configuring fxp1 and vlan0 with addresses that are on different subnets? Cheers, Pedro. -- --------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19 Centro de Cálculo Fax: +34 91 331 92 29 E.U.I.T. Telecomunicación e-mail: pjlobo@euitt.upm.es Universidad Politécnica de Madrid Ctra. de Valencia, Km. 7 E-28031 Madrid - España / Spain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008071016390.302-100000>