Date: Thu, 15 Jan 2009 12:13:06 +0200 From: Mykola Dzham <freebsd@levsha.org.ua> To: "H.fazaeli" <fazaeli@sepehrs.com> Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: howto determine network device unit number? device.hints? Message-ID: <20090115101306.GG39618@expo.ukrweb.net> In-Reply-To: <496EF30E.4010304@sepehrs.com> References: <20def4870901140009y1f007108y92797d5f79ffac08@mail.gmail.com> <496E11B7.3010608@sepehrs.com> <000b01c9768e$745aa160$220f000a@mtl.com> <496EF30E.4010304@sepehrs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
H.fazaeli wrote: > > for example, say you have 2 interface em0 and em1 which > you like to swap their minor numbers: > ifconfig em0 name tmp > ifconfig em1 name em0 > ifconfig em0 name em1 > or to assign cisco-like names to you interfaces: > ifconfig xl0 name fastEthernet0 > ifconfig em0 name gigaEthernet0 > ifconfig fastEthernet0 192.168.1.0/24 > Yony Yossef wrote: Interface renaming is complex when you use ng_ether: if ng_ether loaded before renaming, then ng_ether node name remain unchanged after ifconfig ... name -- Mykola Dzham, LEFT-(UANIC|RIPE) JID: levsha@jabber.net.ua
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090115101306.GG39618>