using multiple interfaces for same Network Card
Ian FREISLICH
ianf at cloudseed.co.za
Wed Mar 13 08:30:26 UTC 2013
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
More information about the freebsd-current
mailing list