1757410 Members
3349 Online
108860 Solutions
New Discussion юеВ

route add for backup NIC

 
Jayraj
Frequent Advisor

route add for backup NIC

Hi All,

In my environment backup server takes backup through cbi NIC card, for that backup server should able ping the backup NIC of the server1. How to add a route entry for CBI NIC to make it pingable by backup server.
Here are the details

There are 3 NIC's configured in server1

Server1# ifconfig lan2
lan2: flags=1843
inet 10.10.1.10 netmask ffffff00 broadcast 10.10.1.255
Server1# ifconfig lan5
lan5: flags=1843
inet 153.6.3.12 netmask ffffff00 broadcast 153.6.3.255
Server1# ifconfig lan900
lan900: flags=8000000000001843
inet 153.6.4.18 netmask fffffc00 broadcast 153.6.7.255

above lan5 is the cbi NIC

Server1# netstat -nvr
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
10.10.1.10/255.255.255.255 10.10.1.10 UH 0 lan2 4136
153.6.3.12/255.255.255.255 153.6.3.12 UH 0 lan5 4136
153.6.4.18/255.255.255.255 153.6.4.18 UH 0 lan900 4136
153.6.164.2/255.255.255.255 153.6.3.254 UGH 0 lan5 1500
153.6.162.6/255.255.255.255 153.6.3.254 UGH 0 lan5 1500
153.6.162.8/255.255.255.255 153.6.3.254 UGH 0 lan5 1500
153.6.3.0/255.255.255.0 153.6.3.12 U 2 lan5 1500
10.10.1.0/255.255.255.0 10.10.1.10 U 2 lan2 1500
153.6.4.0/255.255.252.0 153.6.4.18 U 2 lan900 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 4136
default/0.0.0.0 153.6.7.254 UG 0 lan900 1500


Backup server:/# ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet 153.6.188.57 netmask fffffc00 broadcast 153.6.191.255
ether 0:3:ba:24:18:bf
3 REPLIES 3
inukoti
Frequent Advisor

Re: route add for backup NIC

hi ,
when the backup server is in the same subnet as the lan5 , it should be pinged.

as far as my knowledge goes virtual IP's should be in the same subnet as mother (lan5)

Could you please provide the backup server subnet ?

Regards,
bobby
Fayez
Trusted Contributor

Re: route add for backup NIC

To make this possible, there must be a router ( or layer 3 switch act as a router) between CBI NIC and the backup server, this router must be added as static route entry on both the backup server and the CBI NIC.

For example in server1, this router must be in the same subnet as CBI NIC ex. 153.6.3.1, then add a static route for the 153.6.188.57 through this router.

And for the backup server(I do not know the default router for that server) the router must know how can reach 153.6.3.0 network.
Mel Burslan
Honored Contributor

Re: route add for backup NIC

Assuming 156.6.3.254 is the router for this network, you already should have this connectivity. Having said that, in most enterprise data center environments, icmp packets (which ping relies on) is not let go from one network to the other, i.e., firewalls or routers are set to prevent this from happening.

Make sure your backup server has a static route coming to this network or host and make sure the firewall between the backup server and this server is allowing traffic for the ports that backup application is using. And you should be golden.

If your backup client setup is requiring the ping test to succeed, you will need to talk to your network guys to have this traffic allowed but I am sure they will balk at that as it introduces a lot of unnecessary traffic on the router.
________________________________
UNIX because I majored in cryptology...