It looks like there is no link status for your eth0 interface.
I can't be sure as I'm not fimilar with ifconfig that outputs a portion
of the 'ip link' command.
ip link show eth0

[lbrigman@cloris ~]$ ip link show eth0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen
1000
    link/ether e4:1f:13:6b:9c:20 brd ff:ff:ff:ff:ff:ff

In this case up is OS status,
LOWER_UP is link status.

It shows the same OS and link info using the 'ip addr'
[lbrigman@cloris ~]$ ip a show eth0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen
1000
    link/ether e4:1f:13:6b:9c:20 brd ff:ff:ff:ff:ff:ff
    inet 10.109.0.165/22 brd 10.109.3.255 scope global eth0
    inet6 fe80::e61f:13ff:fe6b:9c20/64 scope link
       valid_lft forever preferred_lft forever



On Sat, Aug 3, 2013 at 11:29 PM, Michael Rasmussen <[email protected]>wrote:

> On Sat, Aug 03, 2013 at 10:37:00PM -0700, John Jason Jordan wrote:
> > On Sat, 3 Aug 2013 22:08:57 -0700
> > Michael Rasmussen <[email protected]> dijo:
> >
> > >> #route add default gateway 192.168.0.1
> > >>    SIOCADDRT: Network is unreachable
> > >
> > >That indicates the first ifconfig did not set up the interface.
> > >What does `ifconfig eth0` show?
> >
> > #ifconfig eth0
> > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> >       inet6 fe80::21a:6bff:fed0:97fg prefixlen 64 scopeid 0x20<link>
> >       ether 00:1a:6b:d0:97:f9 txqueuelen 1000 (Ethernet)
> >       RX packets 525 bytes 53567 (52.3 KiB)
> >       RX errors 0 dropped 0 overruns 0 frame 0
> >       TX packets 1155 bytes 108172 (105.6 KiB)
> >       TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> >       device interrupt 20 memory 0xfe200000-fe220000
>
> Note:  there's no IPv4 address in that.
>
> For comparison:
> $ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:16:3e:42:d0:ce
>           inet addr:173.246.104.35  Bcast:173.246.107.255
>  Mask:255.255.252.0
>           inet6 addr: 2604:3400:dc1:43:216:3eff:fe42:d0ce/64 Scope:Global
>           inet6 addr: fe80::216:3eff:fe42:d0ce/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:33142106 errors:0 dropped:6 overruns:0 frame:0
>           TX packets:16240510 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:29821619951 (29.8 GB)  TX bytes:7936335062 (7.9 GB)
>           Interrupt:26
>
> See how the second line lists the address? And yours does not.
>
> --
>             Michael Rasmussen, Portland Oregon
>           Be Appropriate && Follow Your Curiosity
>   Other Adventures: http://www.jamhome.us/ or http://gplus.to/MichaelRpdx
> A special random fortune cookie fortune:
> The best book on programming for the layman is "Alice in Wonderland";
> but that's because it's the best book on anything for the layman.
>         ~  Alan Perlis
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to