[PLUG] Router configuration: connecting laptop [FIXED]

Rich Shepard rshepard at appl-ecosys.com
Sun Dec 8 00:15:59 UTC 2019


On Sat, 7 Dec 2019, Russell Senior wrote:

> By easy I just meant that there are no obstacles. Just "ip addr add" twice.

I had seen that but hadn't tried it until now. The Dell is now on two
subnets and neither can communicate with the router:

[root at lemna ~]# ip addr add 192.168.1.0/24 dev eth0 
[root at lemna ~]# ip add show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
     link/ether b8:ac:6f:69:63:ca brd ff:ff:ff:ff:ff:ff
     inet 192.168.55.3/24 brd 192.168.55.255 scope global eth0
        valid_lft forever preferred_lft forever
     inet 192.168.1.0/24 scope global eth0
        valid_lft forever preferred_lft forever
     inet6 fe80::baac:6fff:fe69:63ca/64 scope link
        valid_lft forever preferred_lft forever

# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
>From 192.168.1.0 icmp_seq=1 Destination Host Unreachable
>From 192.168.1.0 icmp_seq=2 Destination Host Unreachable
>From 192.168.1.0 icmp_seq=3 Destination Host Unreachable
>From 192.168.1.0 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
7 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6000ms
pipe 4
[root at lemna ~]# ping 192.168.55.4
PING 192.168.55.4 (192.168.55.4) 56(84) bytes of data.
>From 192.168.55.3 icmp_seq=1 Destination Host Unreachable
>From 192.168.55.3 icmp_seq=2 Destination Host Unreachable
>From 192.168.55.3 icmp_seq=3 Destination Host Unreachable
>From 192.168.55.3 icmp_seq=4 Destination Host Unreachable

--- 192.168.55.4 ping statistics ---
7 packets transmitted, 0 received, +4 errors, 100% packet loss, time 6000ms
pipe 4
[root at lemna ~]# ip r
default via 192.168.55.4 dev eth0  metric 1 
127.0.0.0/8 dev lo  scope link 
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.0 
192.168.55.0/24 dev eth0  proto kernel  scope link  src 192.168.55.3

Does it matter that the second subnet is 192.168.1.0/24 rather than
192.168.1.55/24?

Rich



More information about the PLUG mailing list