Results 1 to 5 of 5

Thread: 2 NICs same subnet conflicts

Threaded View

  1. #4

    Re: 2 NICs same subnet conflicts

    guys

    I am getting there

    this does what I want

    iproute2
    Code:
    echo 200 storage_table >> /etc/iproute2/rt_tables
    ip rule add from 192.168.10.151 table storage_table
    ip route add 192.168.10.0/24 via 192.168.10.151 dev eth1 table storage_table
    sysctl parameters
    Code:
    net.ipv4.conf.all.arp_ignore=1
    net.ipv4.conf.all.arp_announce=2
    but I need to make this changes permanent after reboot
    where I should add them?
    I already tried /etc/init.d/boot.local but no luck

    Code:
    echo 200 storage_table >> /etc/iproute2/rt_tables
    ip rule add from 192.168.10.151 table storage_table
    ip route add 192.168.10.0/24 via 192.168.10.151 dev eth1 table storage_table
    any idea?
    thanks
    Last edited by karlochacon; 05-Mar-2012 at 16:11.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •