Re: Automatic VLANS
- From: Richard Tector <richardtector@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 23 Apr 2006 03:20:02 +0100
Quoting Andrew Thompson <thompsa@xxxxxxxxxxx>:
On Thu, Jan 12, 2006 at 10:58:08AM +0100, Marcin Jessa wrote:On Thu, 12 Jan 2006 14:42:41 +0700
Vitaliy Ovsyannikov <V.Ovsyannikov@xxxxx> wrote:
> Does Automatic VLANS works?
> It is was described in
> http://people.freebsd.org/~andre/FreeBSD-5.3-Networking.pdf
>
> # ifconfig em0.1 inet 10.90.90.200/24
> ifconfig: interface em0.1 does not exist
While what you have posted is correct, the automatic vlans the original
poster referred to do exist. 'ifconfig em0.1 create' will create a vlan
and also set the parent to em0 and tag as 1.
Andrew
Is it possible to use this method through rc or must I stick with creating
vlan1, vlan2, vlan3, etc and setting the vlanid and vlandev since my attmpts
have yielded no success.
Eg.
rc.conf:
ifconfig_em0="up vlanhwtag vlanmtu"
ifconfig_em0.100="inet 10.1.2.3/24"
goliath# /etc/rc.d/netif start
/etc/rc.conf: ifconfig_em0.100=inet 10.1.2.3/24: not found
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
....
and the interface is never created, with or without:
cloned_interfaces="em0.100"
Any suggestions?
Regards,
Richard Tector
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Automatic VLANS
- From: Brooks Davis
- Re: Automatic VLANS
- Prev by Date: Re: freeBSD /ipfw/ divert socket
- Next by Date: Watchdog timeouts and dead network on bge - 6.1-RC1
- Previous by thread: freeBSD /ipfw/ divert socket
- Next by thread: Re: Automatic VLANS
- Index(es):
Relevant Pages
- Re: Automatic VLANS
... Vitaliy Ovsyannikov wrote: ... # ifconfig em0.1 inet 10.90.90.200/24
... ifconfig: ... and the interface is never created, ... (freebsd-net) - [Summary] ifconfig & adding an IP to a live system
... Consensus was ifconfig on live system should work. ... interface. ...
like before/after each command. ... I have a critical server that I need to add
an IP to. ... (SunManagers) - Re: Network configuration in FreeBSD
... ifconfig: SIOCIFDESTROY: Invalid argument ... inet 127.0.0.1 netmask
0xff000000 ... The em0 interface has no address. ... (freebsd-questions) - 2.6.0-test7 athlon smp network devices not found
... I seem to have an issue, maybe a bug, with test7 on athlon smp. ... The kernel
is compiled for athlon with smp and acpi (acpi makes no ... ifconfig returns this
with I execute 'ifconfig': ... if I run 'ifconfig eth1' or with any other interface as
the ... (Linux-Kernel) - problems with networking on boot
... I am having problems getting networking to start up on boot. ... but it seems
like there is an interface problem ... between ifup/down and ifconfig. ...
pump -i eth0 ... (Debian-User)