Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Can anyone provide me with a step by step process for changing the default gateway on a 3140HA cluster running 7.3.2. Thanks.
Dan
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- SSH to controller 1.
- Type 'rdfile /etc/rc'
- Copy the contents of the /etc/rc output to notepad. (Might want to save this to a file for safe keeping)
- Example
- hostname bob
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 partner e0a
ifconfig e0b `hostname`-e0b mediatype auto flowcontrol full partner e0b
ifconfig e0c `hostname`-e0c mediatype auto flowcontrol full partner e0c
route add default 1.1.1.1 1
routed on
options dns.domainname bob.local
options dns.enable on
options nis.enable off
savecore
- hostname bob
- Example
- Change the notepad contents for the default route statement.
- Example
- hostname bob
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 partner e0a
ifconfig e0b `hostname`-e0b mediatype auto flowcontrol full partner e0b
ifconfig e0c `hostname`-e0c mediatype auto flowcontrol full partner e0c
route add default 2.2.2.2 1
routed on
options dns.domainname bob.local
options dns.enable on
options nis.enable off
savecore
- hostname bob
- Example
- Make sure you get this right or your system won't boot. Copy the contents of the modified file to your clipboard.
- In the SSH session type 'wrfile /etc/rc'
- Paste the contents of your buffer into the SSH session.
- Press Ctrl+C to quit the editor.
- Verify, type 'rdfile /etc/rc' and make sure there are no extra line breaks or truncations.
- Type 'route delete default'
- Type 'route add default 2.2.2.2 1'
- SSH to controller 2.
- Repeat steps abvove
6 REPLIES 6
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- SSH to controller 1.
- Type 'rdfile /etc/rc'
- Copy the contents of the /etc/rc output to notepad. (Might want to save this to a file for safe keeping)
- Example
- hostname bob
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 partner e0a
ifconfig e0b `hostname`-e0b mediatype auto flowcontrol full partner e0b
ifconfig e0c `hostname`-e0c mediatype auto flowcontrol full partner e0c
route add default 1.1.1.1 1
routed on
options dns.domainname bob.local
options dns.enable on
options nis.enable off
savecore
- hostname bob
- Example
- Change the notepad contents for the default route statement.
- Example
- hostname bob
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 partner e0a
ifconfig e0b `hostname`-e0b mediatype auto flowcontrol full partner e0b
ifconfig e0c `hostname`-e0c mediatype auto flowcontrol full partner e0c
route add default 2.2.2.2 1
routed on
options dns.domainname bob.local
options dns.enable on
options nis.enable off
savecore
- hostname bob
- Example
- Make sure you get this right or your system won't boot. Copy the contents of the modified file to your clipboard.
- In the SSH session type 'wrfile /etc/rc'
- Paste the contents of your buffer into the SSH session.
- Press Ctrl+C to quit the editor.
- Verify, type 'rdfile /etc/rc' and make sure there are no extra line breaks or truncations.
- Type 'route delete default'
- Type 'route add default 2.2.2.2 1'
- SSH to controller 2.
- Repeat steps abvove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Spence.
Would it be possible from a Windows machine to copy the RC file, make the changes and then copy it back to the filer?
Also, any reboots involved or do the changes take effect immediately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The above procedure is without reboot and is immediate. I had you change the /etc/rc file so your changes would be in effect on subsequent reboots.
To access the /etc/rc go to \\filer\c$ from a windows machine. When connected if you AD account is not in the administrators group then use the filer\administrator account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>source /etc/rc = to avoid any reboots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition to the gateway, we're also looking to change the netmask. Would I just edit the /etc/rc file with all changes including the gateway and netmask, and then run source /etc/rc to avoid reboots?
what command do I use to see the "running" subnet mask info?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are going to get much more out of your systems if you take a moment to read the system documentation. Set up a NOW account and read the manpages (manual pages) here:
http://now.netapp.com/NOW/knowledge/docs/ontap/rel7351/html/ontap/cmdref/index.htm
or use the CLI and type 'man ifconfig'
