1833410 Members
3215 Online
110052 Solutions
New Discussion

Re: Change default nic

 
SOLVED
Go to solution
Gene Laoyan
Super Advisor

Change default nic

My server has lan0 as the default nic, how can I change it to lan1?

Thanks
2 REPLIES 2
IT_2007
Honored Contributor

Re: Change default nic

duplicate post.
Kofi ARTHIABAH
Honored Contributor
Solution

Re: Change default nic

By default do you mean that your default route (netstat -rn) is set to lan0?
There are a couple of ways to change this:
1. Goto SAM, unconfigure lan0 and then configure lan1 with your host IP address etc.

or
2. you can edit your /etc/rc.config.d/netconf to set up entries for lan1 with your IP address and default gateway/route information.

Be aware that you will need to reboot the server after these changes, and its probably best to do it from the console or MP/webconsole access.

Good luck.
Kofi
nothing wrong with me that a few lines of code cannot fix!