1294 posts
|
OEL 8
Hello Erman,
please advise how to create route like below on a server?
We add a new NIC for backup
ifconfig shows below output:
enp11s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 3.2.20.21 netmask 255.255.255.0 broadcast 3.2.20.255
inet6 fe80::47d0:197d:b912:ef75 prefixlen 64 scopeid 0x20<link> ether 56:6f:70:24:00:27 txqueuelen 1000 (Ethernet)
RX packets 694983 bytes 44803780 (42.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1604 bytes 92788 (90.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 3.2.20.1 0.0.0.0 UG 104 0 0 enp11s0
3.2.20.0 0.0.0.0 255.*.*.0 U 104 0 0 enp11s0 <----
3.1.20.0 3.2.20.1 255.*.*.0 UG 0 0 0 bondeth1.820 <----- add new one
it should be similar to the one below
Destination Gateway Genmask Flags Metric Ref Use Iface
3.1.20.0 3.2.20.1 255.*.*.0 UG 0 0 0 bondeth1***
3.2.20.0 0.0.0.0 255.*.*.0 U 401 0 0 bondeth1***
Regards,
Roshan
|