1835041 Members
2109 Online
110073 Solutions
New Discussion

Re: ifalias command

 
Shyjith P K
Frequent Advisor

ifalias command

I have C200 work station running hpux 10.20. Can I configure 2 network addresses for lan0 and configure the worktation as a router?
7 REPLIES 7
Berlene Herren
Honored Contributor

Re: ifalias command

With the ifalias patch, you can assign multiple IP addresses to the same network card.

To configure the workstation as a router, make sure that your ROUTE_COUNT is equal to "0"


Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
John Waller
Esteemed Contributor

Re: ifalias command

The command:
ifalias lan0 add should work.
As for configuring as a router, I didn't have to do anything except tell the remote systems to use the machine as a router.
Shyjith P K
Frequent Advisor

Re: ifalias command

Workstations in other network are able to access my workstation (where I configured ifalias). But I am not able to access other network.

My network address is 192.4.1.0
Other netwotk address is 190.1.0.0

What could be the problem? Please help me out.

Vincenzo Restuccia
Honored Contributor

Re: ifalias command

Try with SAM->Network interface card
melvyn burnard
Honored Contributor

Re: ifalias command

what does netstat -i show? and netstat -r?

You may have the routing statement incorrectly specified
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Berlene Herren
Honored Contributor

Re: ifalias command

If your aliased address is a different class IP, you may need to run

# ifalias lan# addmask subnet_mask ip_address

Regards,
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Kevin Wright
Honored Contributor

Re: ifalias command

what does netstat -r show? do you have the other network there..

route add net 190.1.0.0 netmask 255.255.0.0 gateway (ip) 1

the 1 is for the hop count across the router to the other network