Skip to content

bite - the lan0 interface configuration messes up for bite.lan.bitraf.no IPv4 address #160

@tingox

Description

@tingox

when the lan0 interface is up, bite can't talk (or be talked to) on the local interface (bite.lan.bitraf.no)

tingo@bite:~$ ip addr show dev lan0
8: lan0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 06:f0:3b:2f:0f:32 brd ff:ff:ff:ff:ff:ff
    inet 10.13.37.211/24 brd 10.13.37.255 scope global lan0
       valid_lft forever preferred_lft forever
    inet6 fe80::4f0:3bff:fe2f:f32/64 scope link 
       valid_lft forever preferred_lft forever
tingo@bite:~$ ping 10.13.37.1
PING 10.13.37.1 (10.13.37.1) 56(84) bytes of data.
^C
--- 10.13.37.1 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 30ms

tingo@bite:~$ ping 10.13.37.4
PING 10.13.37.4 (10.13.37.4) 56(84) bytes of data.
^C
--- 10.13.37.4 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 12ms

as soon as the lan0 interface goes down, the local interface on bite works again:

tingo@bite:~$ sudo ip link set down lan0
tingo@bite:~$ ip addr show dev lan0
8: lan0: <BROADCAST,NOARP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 06:f0:3b:2f:0f:32 brd ff:ff:ff:ff:ff:ff
tingo@bite:~$ ping 10.13.37.1
PING 10.13.37.1 (10.13.37.1) 56(84) bytes of data.
64 bytes from 10.13.37.1: icmp_seq=1 ttl=255 time=0.803 ms
64 bytes from 10.13.37.1: icmp_seq=2 ttl=255 time=0.486 ms
^C
--- 10.13.37.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 0.486/0.644/0.803/0.160 ms
tingo@bite:~$ ping 10.13.37.4
PING 10.13.37.4 (10.13.37.4) 56(84) bytes of data.
64 bytes from 10.13.37.4: icmp_seq=1 ttl=64 time=0.307 ms
^C
--- 10.13.37.4 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.307/0.307/0.307/0.000 ms

needs to be fixed permanently, but I'm too tired now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions