[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding a static route to the SSVM for remote NFS server

I am doing basic networking with 2 NICS (one for management/storage and the other for Guest traffic).

When you configure the physical NIC/bridges  you can only define one default gateway so I do it for the guest traffic which means the routing table on the SSVM ends up as  -

root@s-1-VM:/etc# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 eth2 UGH       0 0          0 eth1 UGH       0 0          0 eth1     U         0 0          0 eth0 U         0 0          0 eth1 U         0 0          0 eth2

where is the management network and is the guest network.

My NFS server has an IP of so it is on a different subnet which means the the secondary storage would have to run over the guest NIC if I am understanding this properly.

I want storage over the management NIC.  Based on some advice on this mailing list I configured storage to use the same bridge (KVM label) as management but it won't build ie. it errors on the storage traffic part I suspect because the subnet details I enter are not part of the management subnet.

Can I just add a static route to the SSVM for the subnet and would this work or is there a better way to do it ?

On a more general note with basic networking the assumption seems to be you run everything over the same NIC and if you don't it seems to cause no end of problems :)