- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Default route for second nic
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
10-24-2000 03:21 AM
10-24-2000 03:21 AM
I have a C180 workstation. I have installed a 100 Base-T nic at lan1 and need to change the default route to this card. Is it as simple as using route add default 200.x.x.x lan1 or do I need to flush the routing table and how would I make the required changes?
Here is the current table.
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
127.0.0.1 127.0.0.1 UH 0 138 lo0 4608
200.1.4.54 127.0.0.1 UH 40 713211 lo0 4608
default 200.1.4.2 UG 2 469 lan0 1500
200.1.4 200.1.4.54 U 10 189351 lan0 1500
Also do all entries need to be changed to lan1?
Thanks,
Craig A. Sharp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 03:43 AM
10-24-2000 03:43 AM
Re: Default route for second nic
more that one default routing entries are not supported, instead the first given route would be used.
So you have to first delete the default route: route delete default 200.1.4.2
Then you could do: route add default 200.x.x.x (1)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 03:48 AM
10-24-2000 03:48 AM
Re: Default route for second nic
/sbin/init.d/net (stop/start)
By the way, if you are using a dynamic routing protocol with gated (say RIP or OSPF), do not forget to confirm the static routes in the gated.conf file, otherwise they will be deleted by gated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 05:41 AM
10-24-2000 05:41 AM
Re: Default route for second nic
I didnt understand:
Are you trying to configure a second lancard?
That means you would want lan0 on a network and lan1 on another?
Or are you migating lan0 to lan1
Or something completely different?
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 05:21 AM
10-25-2000 05:21 AM
Re: Default route for second nic
route add default 200.1.4.2 (1)
This did nothing. I also edited the netconf file and added the entries for the lan1 card in the routing area and commented out the lan0 entries. No luck. It still picks up the lan0 default route on reboot.
I have a feeling I am missing something simple by digging to deep.
Thanks,
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 05:36 AM
10-25-2000 05:36 AM
Re: Default route for second nic
could you send your netconf to the forums ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 06:40 AM
10-25-2000 06:40 AM
Re: Default route for second nic
I entered the lan1 info for the default route.
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 08:51 AM
10-25-2000 08:51 AM
Re: Default route for second nic
Did you try specifying ifconfig lan0 down?
then ifconfig lan1
Again just thoughts...
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 09:05 AM
10-25-2000 09:05 AM
Re: Default route for second nic
The system is working now on the new nic.
Thanks to all for your suggestions and help.
Craig