Score:0

Interface restart causing unpredictable network behaviour (Ubuntu 18.04)

jp flag

In my server, I have 2 public interfaces with 2 public IPs and 1 has private IP too. eno1 - 149.20.185.126 (public), 10.2.2.2 (private) eno2 - 149.20.185.54 (public)

For some other work (DPDK bind) I need to down the eno1 interface for some time and then up again. Then I found out that even a normal ifconfig restart caused network issues. I did ssh connect via 149.20.185.154(eno2) and then restart ("ifconfig eno1 down" & "ifconfig eno1 up") the eno1 interface. Sometimes the IP 149.20.185.126(eno1) immediately gets responding but sometimes not (I kept doing ping from other servers to check). Sometimes this IP gets unavailable after even 20-30 minutes of interface restart and again gets available. Whenever it gets unavailable after interface restart I tried restarting networking services but same but the IP doesn't get online immediately. Though server reboot solves all the problems, I want to avoid this.

I also checked routing table and it's the same after interface restart so it isn't causing problem for sure..! As I was told Cent OS is not showing this issue. Is this Ubuntu issue or I am doing something wrong while restarting interface?

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         149.20.185.1    0.0.0.0         UG    0      0        0 eno2
0.0.0.0         149.20.185.1    0.0.0.0         UG    0      0        0 eno1
10.2.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eno1
149.20.185.0    0.0.0.0         255.255.255.128 U     0      0        0 eno2
149.20.185.0    0.0.0.0         255.255.255.128 U     0      0        0 eno1
default via 149.20.185.1 dev eno2 proto static 
default via 149.20.185.1 dev eno1 proto static 
10.2.2.0/24 dev eno1 proto kernel scope link src 10.2.2.2 
149.20.185.0/25 dev eno2 proto kernel scope link src 149.20.185.54 
149.20.185.0/25 dev eno1 proto kernel scope link src 149.20.185.126
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.