Re: Networking Question Regarding Routing Tables

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Mark Phillips
Date:  
To: Main PLUG discussion list
Subject: Re: Networking Question Regarding Routing Tables
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@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@orca:/etc/network#


Mark


On Mon, Feb 3, 2014 at 9:44 AM, <> 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@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@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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss