Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2003 19:37:27 +0200
From:      Vincent Jardin <vjardin@wanadoo.fr>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Howto rename an interface
Message-ID:  <200305041937.27631.vjardin@wanadoo.fr>
In-Reply-To: <09l7bv4bp8vvngc0j85tgqob0u3b0vl7pr@4ax.com>
References:  <_MzYgD.A.O9P._h8s-@coal.sentex.ca> <09l7bv4bp8vvngc0j85tgqob0u3b0vl7pr@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Samedi 3 Mai 2003 16:43, Mike Tancsa a =E9crit :
> It sounds a bit messy to maintain.  Perhaps it would be easier to just
> write wrapper programs around those that you use if really need be.  e.=
g. a
> local copy of netstat,ifconfig and route and have those executed first =
in
> your path.

I thought about it. However many issues remain:
  - SNMP still uses the FreeBSD's interface name
  - the kernel logs
  - ... they are lot of softwares that need their own patch=20

Whereas all these softwares would work fine if the interface name does no=
t=20
have a unit number.

Thanks,
  Vincent

PS:
For example, with Linux, the name of an ipip or gre tunnel is free:
# ip tunnel add FooBar mode ipip remote 192.168.0.251 local 192.168.0.15=20
# ifconfig FooBar
FooBar    Lien encap:IPIP Tunnel  HWaddr  =20
          POINTOPOINT NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0=20
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


>
> =09---Mike
>
> On Sat, 3 May 2003 15:47:34 +0200, in sentex.lists.freebsd.net you wrot=
e:
> >I would like to rename the network interfaces. More particularly, I wo=
uld
> > like to control the numbers in the name and to remove the constraints=
=2E
> >
> >For example, what are the issues about renaming my 'vr0' interface to
> > eth1-3 or DSL-WAN that does not have a ifunit within its name ?
> >
> >I think about the following issues, what am I forgetting ?
> >  - update all the sockaddr_dl
> >  - many drivers, in fact all of them, log with %s%d, ifname, ifunit
> >  - (add a message on the routing socket)
> >
> >Regards,
> >  Vincent
> >_______________________________________________
> >freebsd-net@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
> Mike Tancsa  (mike@sentex.net)
> http://www.sentex.net/mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305041937.27631.vjardin>