Yasir hussan wrote:
> --20cf3005141ab7271904d7be84ff
> Yes, i want to use them as vlan interface, Does any one has used *vlandev*,
> after seen this
> http://www.cyberciti.biz/faq/howto-configure-freebsd-vlans-with-ifconfig-comm
and/i
> tried to use it as
> 
> ifconfig vlan11  create 10.10.11.1  255.255.255.0 vlan 11  vlandev arge0
> ifconfig vlan12  create 10.10.12.1  255.255.255.0 vlan 12  vlandev arge0
> ifconfig vlan13  create 10.10.13.1  255.255.255.0 vlan 13  vlandev arge0
> ifconfig vlan14  create 10.10.14.1  255.255.255.0 vlan 14  vlandev arge0

you want:

ifconfig vlan11 create vlan 11 vlandev arge0 inet 10.10.11.1 netmask 
255.255.255.0

or

ifconfig vlan11 create vlan 11 vlandev arge0 inet 10.10.11.1/24

Ian

-- 
Ian Freislich
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to