HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Addition of new routes for certain network address...
Operating System - HP-UX
1827586
Members
2729
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-30-2003 03:26 AM
01-30-2003 03:26 AM
Hello everyone
I have a K570 running 10.20.
In this server there is a pair of 100BT NIC cards teamed up using APA Lan-mon for 10.20 with an IP address called lets say 142.93.29.6 The netconf file dictates a default gateway of 142.93.29.1
This all works fine and users access the server through 29.6
The server also supports a website where traffic currently comes through 29.6 but I have installed another two NIC cards and aim to set up another team with an IP address of say 11.171.18.40. This has a subnet of 255.255.255.128 and a gateway of say 11.171.18.1
There are three web servers in are far far away over a WAN - say 11.246.163.208 and 171.24.251.10 and .11 which currently communicate over 29.6 on the UNIX server. What I want to do is route traffic purley for these three web servers through the new NIC card team 11.171.18.40 and it's gateway 18.1
I therefore propose to perform the following on the UNIX server :
Add 2 static routes for three web servers :
route add 11.246.163 255.255.255.0 11.171.18.1 1
route add 171.24.251 255.255.255.0 11.171.18.1 1 (for the two servers on 171)
and then see if I can do traceroute from the UNIX server to
142.93.29.1 (to ensure that this does not hit anything outside of 142)
11.246.163.208 (to ensure that this goes out over 11.171.18.1)
171.24.251.10 ans .11 (to ensure that these go out over 11.171.18.1)
If this all looks fine then I'm going to update the netconf file with
ROUTE_DESTINATION[1]="net 11.246.163"
ROUTE_GATEWAY[1]=11.171.18.1
ROUTE_ARGS[1]=
ROUTE_MASK[1]=255.255.255.0
ROUTE_COUNT[1]=1
And
ROUTE_DESTINATION[2]="net 171.24.251"
ROUTE_GATEWAY[2]=11.171.18.1
ROUTE_ARGS[2]=
ROUTE_MASK[2]=255.255.255.0
ROUTE_COUNT[2]=1
as we already have [1] as 29.1 (default gateway)
I'm then going to fluch routes with route -f and restart networking with /sbin/init.d/net start and run the traceroutes again.
If all is Ok, I'm going to reboot the server to check that all is fine.
I'm going to document results of traceroute as I go and take a backup of /etc/rc.config.d before I start.
I'm also going to print out things like netstat -rn, lanscan -q as I go.
Presumably, to rollback, I just need to restore netconf ????
Once thing that I am slightly confused about is whether I need to assign an address to the new cards if I'm using /etc/lanmon/lanconfig.ascii to configure it ?
Can anyone see any problems with this especially on the 'route add' front !
I'd appreciate and promise to score any feedback - Thanks in advance.
Russell
P.S - IP addresses used are dummy to protect the innocent !!
I have a K570 running 10.20.
In this server there is a pair of 100BT NIC cards teamed up using APA Lan-mon for 10.20 with an IP address called lets say 142.93.29.6 The netconf file dictates a default gateway of 142.93.29.1
This all works fine and users access the server through 29.6
The server also supports a website where traffic currently comes through 29.6 but I have installed another two NIC cards and aim to set up another team with an IP address of say 11.171.18.40. This has a subnet of 255.255.255.128 and a gateway of say 11.171.18.1
There are three web servers in are far far away over a WAN - say 11.246.163.208 and 171.24.251.10 and .11 which currently communicate over 29.6 on the UNIX server. What I want to do is route traffic purley for these three web servers through the new NIC card team 11.171.18.40 and it's gateway 18.1
I therefore propose to perform the following on the UNIX server :
Add 2 static routes for three web servers :
route add 11.246.163 255.255.255.0 11.171.18.1 1
route add 171.24.251 255.255.255.0 11.171.18.1 1 (for the two servers on 171)
and then see if I can do traceroute from the UNIX server to
142.93.29.1 (to ensure that this does not hit anything outside of 142)
11.246.163.208 (to ensure that this goes out over 11.171.18.1)
171.24.251.10 ans .11 (to ensure that these go out over 11.171.18.1)
If this all looks fine then I'm going to update the netconf file with
ROUTE_DESTINATION[1]="net 11.246.163"
ROUTE_GATEWAY[1]=11.171.18.1
ROUTE_ARGS[1]=
ROUTE_MASK[1]=255.255.255.0
ROUTE_COUNT[1]=1
And
ROUTE_DESTINATION[2]="net 171.24.251"
ROUTE_GATEWAY[2]=11.171.18.1
ROUTE_ARGS[2]=
ROUTE_MASK[2]=255.255.255.0
ROUTE_COUNT[2]=1
as we already have [1] as 29.1 (default gateway)
I'm then going to fluch routes with route -f and restart networking with /sbin/init.d/net start and run the traceroutes again.
If all is Ok, I'm going to reboot the server to check that all is fine.
I'm going to document results of traceroute as I go and take a backup of /etc/rc.config.d before I start.
I'm also going to print out things like netstat -rn, lanscan -q as I go.
Presumably, to rollback, I just need to restore netconf ????
Once thing that I am slightly confused about is whether I need to assign an address to the new cards if I'm using /etc/lanmon/lanconfig.ascii to configure it ?
Can anyone see any problems with this especially on the 'route add' front !
I'd appreciate and promise to score any feedback - Thanks in advance.
Russell
P.S - IP addresses used are dummy to protect the innocent !!
It's not a problem, it's an opportunity !
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 10:36 AM
01-30-2003 10:36 AM
Solution
Russell,
Your route add commands have the same requirements has the netconf file. You should use route add net 171.24.251 255.255.255.0 11.171.18.1 1
I'm not familiar with using /etc/lanmon/lanconfig.ascii, but if problems do occur restoring /etc/rc.config.d/netconf will bring your networking properties back to original.
Bear in mind that if you add the route for your 171.24.251 network and 11.246.163 network, all traffic going to those networks will use the new gateway, not just the web servers. If this is not the desired effect you might want to consider add routes by host. This would require 3 additional routes instead of 2.
route add host 11.246.163.208 255.255.255.255 11.171.18.1 1
route add host 171.24.251.10 255.255.255.255 11.171.18.1 1
route add host 171.24.251.11 255.255.255.255 11.171.18.1 1
It may be a little extra work, but if you are trying to segragate your traffic, it might help a little more.
Good Luck.
Steve
Your route add commands have the same requirements has the netconf file. You should use route add net 171.24.251 255.255.255.0 11.171.18.1 1
I'm not familiar with using /etc/lanmon/lanconfig.ascii, but if problems do occur restoring /etc/rc.config.d/netconf will bring your networking properties back to original.
Bear in mind that if you add the route for your 171.24.251 network and 11.246.163 network, all traffic going to those networks will use the new gateway, not just the web servers. If this is not the desired effect you might want to consider add routes by host. This would require 3 additional routes instead of 2.
route add host 11.246.163.208 255.255.255.255 11.171.18.1 1
route add host 171.24.251.10 255.255.255.255 11.171.18.1 1
route add host 171.24.251.11 255.255.255.255 11.171.18.1 1
It may be a little extra work, but if you are trying to segragate your traffic, it might help a little more.
Good Luck.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 11:26 AM
01-30-2003 11:26 AM
Re: Addition of new routes for certain network addresses
I agree with Steve. If your idea is to redirect traffic to the webservers only, add the static routes for the hosts instead of subnets.
lanconfig.ascii file is used by Lan Monitor of AutoPortAggregation software. If you dont' intend to use APA, you don't need to bother about it
-Sri
lanconfig.ascii file is used by Lan Monitor of AutoPortAggregation software. If you dont' intend to use APA, you don't need to bother about it
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP