1832285 Members
2801 Online
110041 Solutions
New Discussion

Ethernet lan1

 
Manuales
Super Advisor

Ethernet lan1

hi ...
i configured an ethernet lan1, do i have to shutdown the server?

if i run ifconfig lan1 i can see the network ip address ...

do i have to shutdown the server for getting the new changes?

Thanks.
3 REPLIES 3
TTr
Honored Contributor

Re: Ethernet lan1

Actually if you shutdown/reboot the server you will lose the new interface/IP.
You must put the lan1 settings in /etc/rc.config.d/netconf so that they get set each time the server reboots.
Deepak Kr
Respected Contributor

Re: Ethernet lan1

No need. Once IP is assigned you can start using it.


How you have assigned IP to lan1?

using ifconfig command or using SAM.

If you used SAM then it will be permanent means you dont need to assign it again even after reboot.
But in case of ifconfig you need to make it permanent by putting entries in below file

cd /etc/rc.config.d
vi netconf

Copy lines for lan0 and use the same with [1] for lan1

Also. any time you want to recycle network services on hp box you can use following:

# /sbin/init.d/net stop
# /sbin/init.d/net start

This will recycle network services for all lan cards.

regds...DK
"There is always some scope for improvement"
Rasheed Tamton
Honored Contributor

Re: Ethernet lan1

>if i run ifconfig lan1 i can see the network ip address ...

If you can see the new IP address that means it is set and you can use it. But if you want it permanently (to save), as said above, you have to put the entries in the /etc/rc.config.d/netconf file.

rgds.