Quote:
Originally Posted by golfnut
I would like them to be seperate nics on the same subnet.
|
Well aside from setting up the ifconfig for each, Linux by default sets arp_filter to 0 (The kernel can respond to arp requests with addresses from other interfaces.)
So you'll need to add:
net.ipv4.conf.default.arp_filter = 1
to /etc/sysctl.conf
and add to local.start:
ip route add default via ${GATEWAY} dev $(NIC2_DEV} table TABLE1
ip rule add from ${NIC2_IP} table TABLE1
I assume you're doing this to dedicate a nic to a VM or some such.
Stole this info from here:
http://spg-kush.blogspot.com/2005/07...ne-subnet.html
Recent comments
2 days 10 hours ago
2 days 19 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 38 min ago
3 days 2 hours ago
3 days 3 hours ago
3 days 4 hours ago
3 days 20 hours ago
3 days 21 hours ago