iproute2 ip tool does not bring up my eth0

iproute2 ip tool does not bring up my eth0

Post by Eelco Chaudro » Fri, 29 Nov 2002 18:26:52



Hi all,

I'm having problems getting my eth0 (lo) up when using the ip tool (see below).
Any idea what this can be?

Thanks,

Eelco


eth0      Link encap:Ethernet  HWaddr 00:30:1B:07:42:33  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:316 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:29111 (28.4 Kb)  TX bytes:840 (840.0 b)
          Interrupt:11 Base address:0x4000


!!!Deficit 152, rta_len=0
!!!Deficit 156, rta_len=0
!!!Deficit 156, rta_len=0
!!!Deficit 160, rta_len=0
Cannot find device "eth0"


PING 172.16.1.101 (172.16.1.101) from 172.16.1.100 : 56(84) bytes of data.
64 bytes from 172.16.1.101: icmp_seq=1 ttl=128 time=0.324 ms
64 bytes from 172.16.1.101: icmp_seq=2 ttl=128 time=0.190 ms
64 bytes from 172.16.1.101: icmp_seq=3 ttl=128 time=0.194 ms
64 bytes from 172.16.1.101: icmp_seq=4 ttl=128 time=0.187 ms
64 bytes from 172.16.1.101: icmp_seq=5 ttl=128 time=0.181 ms
64 bytes from 172.16.1.101: icmp_seq=6 ttl=128 time=0.190 ms
64 bytes from 172.16.1.101: icmp_seq=7 ttl=128 time=0.188 ms
64 bytes from 172.16.1.101: icmp_seq=8 ttl=128 time=0.185 ms

--- 172.16.1.101 ping statistics ---
8 packets transmitted, 8 received, 0% loss, time 7007ms
rtt min/avg/max/mdev = 0.181/0.204/0.324/0.048 ms


eth0      Link encap:Ethernet  HWaddr 00:30:1B:07:42:33  
          inet addr:172.16.1.100  Bcast:172.16.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:325 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:29955 (29.2 Kb)  TX bytes:1864 (1.8 Kb)
          Interrupt:11 Base address:0x4000

 
 
 

iproute2 ip tool does not bring up my eth0

Post by Paul Lutu » Fri, 29 Nov 2002 18:39:27



> Hi all,

> I'm having problems getting my eth0 (lo) up when using the ip tool (see
> below). Any idea what this can be?

We'l help you if you will say what the problem is. The log you attached
shows a properly configured NIC. And what "ip tool" are you referring to?

--
Paul Lutus
www.arachnoid.com

 
 
 

iproute2 ip tool does not bring up my eth0

Post by Eelco Chaudr » Sat, 30 Nov 2002 16:25:40




> > Hi all,

> > I'm having problems getting my eth0 (lo) up when using the ip tool (see
> > below). Any idea what this can be?

> We'l help you if you will say what the problem is. The log you attached
> shows a properly configured NIC. And what "ip tool" are you referring to?

Should have added an extra step:


eth0      Link encap:Ethernet  HWaddr 00:30:1B:07:42:33  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:316 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:29111 (28.4 Kb)  TX bytes:840 (840.0 b)
          Interrupt:11 Base address:0x4000


!!!Deficit 152, rta_len=0
!!!Deficit 156, rta_len=0
!!!Deficit 156, rta_len=0
!!!Deficit 160, rta_len=0
Cannot find device "eth0"


eth0      Link encap:Ethernet  HWaddr 00:30:1B:07:42:33  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:316 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:29111 (28.4 Kb)  TX bytes:840 (840.0 b)
          Interrupt:11 Base address:0x4000

So the ip command does not work. This is ip from the iproute2 v2.4.7 package.

 
 
 

iproute2 ip tool does not bring up my eth0

Post by Paul Lutu » Sat, 30 Nov 2002 16:40:29



> So the ip command does not work. This is ip from the iproute2 v2.4.7
> package.

What is your goal? What does "ip" offer you that "ifconfig" does not? Do
you want to make your NIC function? Have you tried:

# ifconfig eth0 172.16.1.100

--
Paul Lutus
www.arachnoid.com