[6bone] Re: about transition from ipv4 to ipv6

Jeroen Massar jeroen@unfix.org
Fri, 9 Jan 2004 13:53:30 +0100


-----BEGIN PGP SIGNED MESSAGE-----

Mamatha Balachandra wrote:

> Dear Sir

Don't forget the Madam's here ;)

<SNIP>

> Now my doubt is : how to change the name of sit interface in 
> the output of ifconfig command? And even whatever I change in 
> /usr/src/linux-2.4.20-8/net/ipv6/sit.c it wont be affected in 
> the output of ifconfig. Also it won't ping www.6bone.net 
> using sit interface.

ip link set <interface> name <newname>

eg: ip link set sit0 name 6bone

(ip is in the iproute2 pacakge)

Or check man netdevice(7) and use the SIOCSIFNAME ioctl.

Greets,
 Jeroen

-----BEGIN PGP SIGNATURE-----
Version: Unfix PGP for Outlook Alpha 13 Int.
Comment: Jeroen Massar / http://unfix.org/~jeroen

iQA/AwUBP/6kSSmqKFIzPnwjEQIsgQCfbFwgc0ujPi2GBk6uMAUiTiDqqbMAnibi
G+xgmwqekgHBmaLvXExbf7Io
=9BjM
-----END PGP SIGNATURE-----