Hi All,
Im in a situration where i can access my OMW server only from IPMI/BMC. So I have to set ip in CLI.
I have 4 ethernet ports in the server where eth3 is the one that is cabled. The rest are without.
currently my interface file looks like this, and is not working:
Code
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 manual
pre-down ip -6 addr flush dev $IFACE
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
iface eth1 inet6 manual
pre-down ip -6 addr flush dev $IFACE
auto eth2
allow-hotplug eth2
iface eth2 inet dhcp
iface eth2 inet6 manual
pre-down ip -6 addr flush dev $IFACE
auto eth3
iface eth3 inet static
address 192.168.1.25
netmask 255.255.255.0
gateway 192.168.1.8
dns-nameservers 8.8.8.8
iface eth3 inet6 manual
predown ip -6 addr flush dec $IFACE
Alles anzeigen
What am i doing wrong? its suppose to be simpel