2.2.9 networking

Mircea Damian (dmircea@pop3.kappa.ro)
Wed, 26 May 1999 16:00:06 +0300


Hello,

I'm puzzled... something is strange here and I'm wondering where's missing piece?

Suppose that I issue this commands:

root@taz:~# ip link
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
link/LOOPBACK 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
link/ETHER 00:00:21:45:35:3d brd ff:ff:ff:ff:ff:ff
root@taz:~# (ip link set eth0 down; ip link set eth0 name taz_eth0; ip link set taz_eth0 up) &
[1] 138
root@taz:~#
[1] + done ( ip link set eth0 down; ip link set eth0 name taz_eth0; ip link set taz_eth0
root@taz:~#
root@taz:~# ip route add 193.231.198.126/32 via 193.231.203.12
root@taz:~# ip route add 193.226.87.48/30 via 193.231.203.44
root@taz:~# ip route add default via 193.231.203.1
root@taz:~# ip route
193.231.198.126 via 193.231.203.12 dev taz_eth0
193.226.87.48/30 via 193.231.203.44 dev taz_eth0
193.231.203.0/24 dev taz_eth0 proto kernel scope link src 193.231.203.20
default via 193.231.203.1 dev taz_eth0
root@taz:~# ip link
1: : <LOOPBACK,UP> mtu 3924 qdisc noqueue
link/LOOPBACK 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: taz_eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
link/ETHER 00:00:21:45:35:3d brd ff:ff:ff:ff:ff:ff

What happened to my loopback interface(it's name is empty)?

Trying to set it back fails miserably:
root@taz:~# ip link set lo down
ioctl: No such device
root@taz:~# ip link set '' down
Invalid "txqueuelen" value
root@taz:~# ip link set '' name lo
Invalid "txqueuelen" value
root@taz:~# ip link set '' txqueuelen 100
Invalid "txqueuelen" value
root@taz:~# ip link set lo txqueuelen 100
SIOCGIFXQLEN: No such device
root@taz:/usr/src/iproute2# ip -V
ip utility, iproute2-ss990417

Any ideas?

-- 
Mircea Damian
Network Manager
E-mails: dmircea@kappa.ro, dmircea@roedu.net
WebPage: http://taz.mania.k.ro/~dmircea/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/