Networking Question Regarding Routing Tables

Mark Phillips mark at phillipsmarketing.biz
Mon Feb 3 13:12:06 MST 2014


There is no cable plugged in when I use the wireless.

Here is ip addr with no cable and just wireless. However, I have manually
removed the offending eth0 entry...I can reboot and run this again with the
offending eth0 entry if needed.

root at orca:/etc/network# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group
default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN group default qlen 1000
    link/ether 00:24:e8:fa:3a:aa brd ff:ff:ff:ff:ff:ff
    inet6 fe80::224:e8ff:fefa:3aaa/64 scope link
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
    link/ether 00:24:d6:4d:f4:5c brd ff:ff:ff:ff:ff:ff
    inet 192.168.25.150/24 brd 192.168.25.255 scope global wlan0
    inet6 fe80::224:d6ff:fe4d:f45c/64 scope link
       valid_lft forever preferred_lft forever
root at orca:/etc/network#

Mark


On Mon, Feb 3, 2014 at 9:44 AM, <kitepilot at kitepilot.com> wrote:

> What does:
> ip addr show
> shows?
> Is there a cble plugged to that interface?
> ET
> Mark Phillips writes:
>
>> My Debian testing laptop running gnome has two interfaces - eth0 and
>> wlan0.
>> When I switch to wlan0, the routing table has an entry for eth0, so I
>> cannot access my local network.
>> root at orca:/home/mark# route
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags Metric Ref    Use
>> Iface
>> default         gateway         0.0.0.0         UG    0      0        0
>> wlan0
>> link-local      *               255.255.0.0     U     1000   0        0
>> wlan0
>> 192.168.25.0    *               255.255.255.0   U     0      0        0
>> eth0
>> 192.168.25.0    *               255.255.255.0   U     0      0        0
>> wlan0
>> if I remove the eth0 line, I can connect to my local lan.
>> How do I permanently remove this route? I can do it manually with route
>> del
>> -net....., but that does not survive reboot. I have no idea where this
>> setting is created.
>> When I switch to eth0 (ie plug in a cable), I get this routing table,
>> which
>> is correct.
>> root at orca:/etc/network# route
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags Metric Ref    Use
>> Iface
>> default         gateway         0.0.0.0         UG    0      0        0
>> eth0
>> link-local      *               255.255.0.0     U     1000   0        0
>> eth0
>> 192.168.25.0    *               255.255.255.0   U     0      0        0
>> eth0
>> Thanks,
>> Mark
>>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140203/f30c76d6/attachment.html>


More information about the PLUG-discuss mailing list