Docker GUI server - static address issue

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
juddda
Posts: 1
Joined: Mon May 11, 2026 7:41 pm

Docker GUI server - static address issue

Post by juddda » Mon May 11, 2026 7:52 pm

Hi

I cannot remember any issues with this until I upgraded to the latest EVE-NG

I have add a docker gui-server node, but it won't allow me to set a static address without the internal DCHP setting the IP and most important the default route:

Here's my startup config:

# Set ip address and Default route
ip addr add 100.0.0.2/24 dev eth0 || true
ip route add default via 100.0.0.1 || true

# Set DNS server
cat > /etc/resolv.conf << EOF
nameserver 8.8.8.8
EOF

However my address is added as a secondary onto eth0 & the internal DHCP address is still there::

2: eth0@if33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.17.0.2/16 brd 172.17.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 100.0.0.2/24 scope global eth0
valid_lft forever preferred_lft forever

And the default gateway to 172.17.0.1 just won't go away even though I have set it in the startup-config

root@Docker:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.17.0.1 0.0.0.0 UG 0 0 0 eth0
100.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
root@Docker:~#


Even if I assign my new address info to another interface say eth 1, the route stays so I cannot do anything & I don't want to add a ton of static routes on it.

Can anyone help?

EDIT: The only way I got this to work for the current lab I am working is via a static route, but don't want to have to add a list of static routes for other complex labs.


root@qosGen:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.17.0.1 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 172.16.0.1 255.255.255.0 UG 0 0 0 eth1
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
root@qosGen:~# ping 172.16.0.1
PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data.
64 bytes from 172.16.0.1: icmp_seq=1 ttl=255 time=0.585 ms
64 bytes from 172.16.0.1: icmp_seq=2 ttl=255 time=0.301 ms
64 bytes from 172.16.0.1: icmp_seq=3 ttl=255 time=0.250 ms

Post Reply