Wednesday, 4 May 2016

Multiple IP configuration on multiple NIC on same server


#  First Set IP For Both LAN Card


In short, there are two options:
1) edit the file "/etc/sysctl.conf"

change the value from 1 to 2 in the following line:

net.ipv4.conf.default.rp_filter = 1

Add this line:

net.ipv4.conf.all.rp_filter = 2
After edit, it should look like this:
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.all.rp_filter = 2
reload the configuration by typing
sysctl -p 

No comments: