ONTAP Discussions

Highlighted

Configuring Persistent static route - Interface option - 7-mode

Hello,

I need specify static route on pass by  specific interface

 

In linux like as this command:

route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.10.1 dev eth0

4 REPLIES 4
Highlighted

Re: Configuring Persistent static route - Interface option - 7-mode

You can use similar route commands on the filer. You have to add the command into the /etc/rc file as well so that it will be configured on a reboot.

Highlighted

Re: Configuring Persistent static route - Interface option - 7-mode

Hi rwelshman
I understand, however the network interface option no longer available, I would like to specify which network card se'ra used to route

Thank you for your help.
Highlighted

Re: Configuring Persistent static route - Interface option - 7-mode

do you have multiple interfaces on the same network?

Highlighted

Re: Configuring Persistent static route - Interface option - 7-mode

Yes, have 2 interfaces on same network, would like a host entry to specify that for connections to a specific host only use one specific port.

Check out the KB!
Knowledge Base
All Community Forums