Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tingox opened this issue Sep 12, 2021 · 4 comments
Labels

Comments

@tingox
Copy link
Contributor

tingox commented Sep 12, 2021

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.

@tingox tingox added the bug label Sep 12, 2021
@tingox
Copy link
Contributor Author

tingox commented Sep 14, 2021

had to power off / power on the server again today (funny story, ask me sometime), and as usual, the lan0 interface needed to be down before the server responds on it's bite.lan.bitraf.no address.
$ sudo ip link set down lan0
that's all.

@tingox
Copy link
Contributor Author

tingox commented Nov 4, 2021

After todays power outage (electrical work on premisies) everything came up again as it was supposed to do, but p2k16 gave a "refused to connect" error message when you tried to reach it in a web browser. As soon as I did $ sudo ip link set down lan0 on bite, the problem vanished.

@tingox
Copy link
Contributor Author

tingox commented Nov 4, 2021

After todays power outage (electrical work on premisies) everything came up again as it was supposed to do, but p2k16 gave a "refused to connect" error message when you tried to reach it in a web browser. As soon as I did $ sudo ip link set down lan0 on bite, the problem vanished.

scratch that - I've set the interface up now, and p2k16 still works.

@tingox
Copy link
Contributor Author

tingox commented May 7, 2022

checked the lan0 interface today after the server came up

tingo@bite:~$ sudo ip link show dev lan0
8: lan0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 06:f0:3b:2f:0f:32 brd ff:ff:ff:ff:ff:ff

no ip address there. Trying to set it down and up

tingo@bite:~$ sudo ip link set up lan0
tingo@bite:~$ sudo ip link show dev lan0
8: lan0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 06:f0:3b:2f:0f:32 brd ff:ff:ff:ff:ff:ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant