- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to access two networks with just one Lan card ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:36 AM
03-28-2003 07:36 AM
How to access two networks with just one Lan card ?
I have hp-ux 10.20 and I want to access two networks and I just have one lan card. The IPs are: 191.120.122.5 and 10.14.9.4. Can I set two default gateways one for each network ? I tried to set a virtual IP with no sucess in netconf (like lan0:1) it did not recognize as an interface. What can I do to solve it ?
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:39 AM
03-28-2003 07:39 AM
Re: How to access two networks with just one Lan card ?
man route for details.
You can only have ONE default gateway, but you can have routes to as many networks as you want.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:43 AM
03-28-2003 07:43 AM
Re: How to access two networks with just one Lan card ?
check out ifalias. This command allows you to create multiple ip-adresses on a interface.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:46 AM
03-28-2003 07:46 AM
Re: How to access two networks with just one Lan card ?
The HP host is connected to the 191.x.x.x network and the another network is connected in the hub. If I set the default gateway as 191.x.x.x all the packets is using this gateway to access the other networks. It is strange but besides I set the route to 10.x.x.x it is not working !?
Thanks,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:47 AM
03-28-2003 07:47 AM
Re: How to access two networks with just one Lan card ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:51 AM
03-28-2003 07:51 AM
Re: How to access two networks with just one Lan card ?
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=191.168.122.7
BROADCAST_ADDRESS[0]=191.168.122.255
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0
INTERFACE_NAME[1]=lan0:1
IP_ADDRESS[1]=10.13.2.5
BROADCAST_ADDRESS[1]=10.13.2.255
LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[1]=0
And two default gateways:
ROUTE_DESTINATION[0]="xxxx"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=test
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="yyyyyy"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=test2
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
Why can I do it in netconf (hp-ux 10.20)
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 07:52 AM
03-28-2003 07:52 AM
Re: How to access two networks with just one Lan card ?
SAM is good for some things :-)
I am guessing there is no gateway between these networks available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:02 AM
03-28-2003 08:02 AM
Re: How to access two networks with just one Lan card ?
Where can I do it in SAM ?
I could not find logical IP in SAM !?
Cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:08 AM
03-28-2003 08:08 AM
Re: How to access two networks with just one Lan card ?
# ifalias lan0 add 10.13.2.5
to initialise the Logical card.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:12 AM
03-28-2003 08:12 AM
Re: How to access two networks with just one Lan card ?
If its not there you need the latest 10.20 ARPA patches. Maybe SAM patches too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:27 AM
03-28-2003 08:27 AM
Re: How to access two networks with just one Lan card ?
Keep your current default gateway. Do not try to have two - that will just mess you up. The 10.20 does not support the strong end-system model so would not know what to do with a second default gateway.
Actually I see nothing wrong with your current setup. Letting the router route between two networks on the same interface is quite common. If the interface to the router is a bottleneck then if it's a Cisco have the Cisco admin add the command
ip route-cache same-interface
to the interface. That will speed it up considerably since the interface will no longer have to query the main routing table every time it gets a packet that has to go back out the same interface. Other routers probably have the same idea.
Do not try to add a route via a gateway which is not in the same subnet as the HPUX.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 09:22 AM
03-28-2003 09:22 AM
Re: How to access two networks with just one Lan card ?
Does anyone know what are these ARPA patches ?
Thanks, cheers,
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 11:08 AM
03-28-2003 11:08 AM
Re: How to access two networks with just one Lan card ?
search for 10.20 & ARPA, select the cumlative patch.
ARPA - Advanced Research Projects Agency .. its the Agency who defined the network protocol standard.