Re: using multiple interfaces for same Network Card

看板FB_current作者時間12年前 (2013/04/27 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串12/12 (看更多)
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-unsubscribe@freebsd.org"
文章代碼(AID): #1HUscV6C (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HUscV6C (FB_current)