...
5. Click on Auto eth1 and click on "Edit..."
6.
Change the settings to the following (do NOT change the HWADDR or UUID)
...
. Select the "IPv4 Settings" tab. Set the Method to "Manual" and add following details:
Address: 10.0.2.4
...
Netmask: 24
Gateway: 10.0.2.1
...
5. Ensure HWADDR in ifcfg-eth1 above is set to the same value as ATTR{address} in the following file.
No Format |
---|
cat /etc/udev/rules.d/70-persistent-net.rules |
No Format |
---|
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:d8:37:29", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" |
5. Restart the network interface
...
DNS Servers: 8.8.8.8
Then click on Apply
6. View the network interface
...