Changing gre interface nam
Warner Losh
imp at bsdimp.com
Thu Feb 26 14:14:08 UTC 2015
> On Feb 26, 2015, at 5:12 AM, Nomad Esst via freebsd-drivers <freebsd-drivers at freebsd.org> wrote:
>
> Hi allI want to change "gre" interface name to e.g. "zun" by editing gre source codes, how can I do so?Thanks in advance …
ifconfig can remap it w/o changing the source.
If you want to change it in the source, then look at struct ifnet and how it is initialized in the attach routine. If you don’t know what this means, then you should go the ifconfig route.
Warner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-drivers/attachments/20150226/5c1e2148/attachment.sig>
More information about the freebsd-drivers
mailing list