1834475 Members
3559 Online
110067 Solutions
New Discussion

Can't configue lan2

 
SOLVED
Go to solution
j773303
Super Advisor

Can't configue lan2

I have 2 lan card in my HP UNIX Server.
One lan card was configured OK. But another is
faild. When I typing

ifconfig lan2 210.68.114.7 netmask 255.255.255.240

it shows the error message as below:
ERROR : lan2 interface:ioctl(SIOCSIFADDR):can't assign requested address

Could someone tell me what happend?

Thanks
Jeff
Hero
4 REPLIES 4
Michael Tully
Honored Contributor

Re: Can't configue lan2

Try it like this:

# ifconfig lan2 210.68.114.7 up netmask 255.255.255.240

Maks sure that you update the appropriate entries in /etc/rc.config.d/netconf for next time the system reboots.


Anyone for a Mutiny ?
j773303
Super Advisor

Re: Can't configue lan2

The erroe message is the same. Do you have
any suggestion? Thanks.
Hero
Michael Tully
Honored Contributor
Solution

Re: Can't configue lan2

Hi,

Check out this posting. It may be of assistance.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x233249c5ae73d4118fef0090279cd0f9,00.html

HTH
Michael
Anyone for a Mutiny ?
rick jones
Honored Contributor

Re: Can't configue lan2

Two choices - use ndd to set ip_check_subnet_addr to 0 (also in /etc/rc.config.d/nddconf), or upgrade to 11i, where that is the default.
there is no rest for the wicked yet the virtuous have no pillows