Re: Problem implementing vlan on release 6.1 amd64
- From: Freddie Cash <fcash@xxxxxxxx>
- Date: Mon, 11 Dec 2006 08:27:49 -0800
On Monday 11 December 2006 04:16 am, Samit Jana wrote:
I am stuck making VLAN operational in FreeBSD 6.1-RELEASE , amd64. The
same type config working beautifully over a year in FreeBSD
4.10-RELEASE. It looks like although ifconfig has created the virtual
interfaces but the kernel doesn't have vlan support at all. While i do
tcpdump on real and virtual interface I don't see any incoming packets
either and my Catalyst 2950 port (both on trunk and access mode) also
doesn't learn the mac of the NIC card.
Any help or tips appreciated.
The process we used to create our vLAN interfaces:
ifconfig bge0 up
ifconfig vlan100 create
ifconfig vlan100 inet 10.0.0.1/24 vlan 100 vlandev bge0
The first line brings the parent interface up and establishes the
connection to the switch.
The second line create the vlan100 interface. The number can be anything
you want, so long as it is unique for all vlan interfaces.
The third line configures the IP on the vlan100 interface, sets the vlan
number (to tag the packets with) and associates it with the parent
interface.
Any packets you route through vlan100 will have the vlan 100 tag
added/removed as needed.
The lines needed in /etc/rc.conf to automate this are:
cloned_interfaces="vlan100"
ifconfig_bge0="up"
ifconfig_vlan100="inet 10.0.0.1/24 vlan 100 vlandev bge0"
See the ifconfig(8) and rc.conf(5) man pages, and the comments
in /etc/defaults/rc.conf for more info.
--
Freddie Cash
fcash@xxxxxxxx
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"
- References:
- Problem implementing vlan on release 6.1 amd64
- From: Samit Jana
- Problem implementing vlan on release 6.1 amd64
- Prev by Date: Re: Problem implementing vlan on release 6.1 amd64
- Next by Date: away from my mail
- Previous by thread: Re: Problem implementing vlan on release 6.1 amd64
- Next by thread: away from my mail
- Index(es):
Relevant Pages
|
|