This post is more than 5 years old
23 Posts
0
2531
How to assign default route to a Celera Interface
Hello Team,
I have 2 interface configured on my celera NS-120(172.18.99.150 and 172.18.99.151) and i am trying to add default route to the interface
I have added the default gateway for 172.18.99.150 as 172.18.100.200 and i want to add a different gateway(172.18.100.201) for other interface(172.18.99.151)
However gateway create interface is asking for only information about Destination: ,Gateway: and Netmask:.It is not asking the interface(172.18.99.151 here).
How do i specifically add the gateway for an interface here and what is the the Destination and Netmask i should mention here.( i mentioned 0.0.0.0 as Netmask and destination for the interface 172.18.99.150)
Thanks in advance ,
Muhammed Basheer MP
Rainer_EMC
2 Intern
2 Intern
•
8.6K Posts
0
November 25th, 2015 02:00
Hi,
there is only one default route (gateway) possible per data mover and its used for all interfaces on that data mover.
thats what you use server_route server_x -add default gateway for.
you can create multiple network routes.
there is no source based routing.
Rainer
mohdbAsheer
23 Posts
0
November 25th, 2015 03:00
Thanks for you reply Rainer.
what is the the Destination and Netmask i should mention here if i want to add the gateway as 172.18.100.201 here ?
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
November 25th, 2015 08:00
for default gateway you dont' need to specify netmask
server_route server_2 -add default