- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Static Routes
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
09-17-2003 10:33 PM
09-17-2003 10:33 PM
Static Routes
We have planned to configure 4 Networks with static routing. The rough network plan is given below,
NW Range - 192.168.1.0, Hosts per N/W - 6
Subnet Mask - 255.255.255.248
Network -1 : 192.168.1.8
Host1 - has two NICs - one for LAN and the other for Routing the other network (Network2).
host1-LAN : 192.168.1.9
host1-External : 10.0.0.1
Network-2 : 192.168.1.16
Host1 - has two NICs - one for LAN and the other for Routing the other network (Network1).
host1-LAN : 192.168.1.17
host1-External : 10.0.0.2
Host2 - has two NICs - one for LAN and the other for Routing the other network (Network3)
host2-LAN : 192.168.1.18
host2-External : 11.0.0.1
Network3 : 192.168.1.24
Host1 - has two NICs - one for LAN and the other for Routing the other network (Network2).
host1-LAN : 192.168.1.25
host1-External : 11.0.0.2
Host2 - has two NICs - one for LAN and the other for Routing the other network (Network4)
host2-LAN : 192.168.1.26
host2-External : 12.0.0.1
Network4 : 192.168.1.32
Host1 - has two NICs - one for LAN and the other for Routing the other network (Network3).
host1-LAN : 192.168.1.33
host1-External : 12.0.0.2
Now please help me in configuring Static Route entries in these routers.
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2003 11:23 PM
09-17-2003 11:23 PM
Re: Static Routes
Network 1
Host1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.9
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=10.0.0.1
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=net 192.168.1.16
ROUTE_MASK[0]=255.255.255.248
ROUTE_GATEWAY[0]=10.0.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Any clients on this network will need a gateway address of 192.168.1.9
Network 2
host1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.17
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=10.0.0.2
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=net 192.168.1.8
ROUTE_MASK[0]=255.255.255.248
ROUTE_GATEWAY[0]=10.0.0.2
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Host2
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.18
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=11.0.0.1
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=net 192.168.1.24
ROUTE_MASK[0]=255.255.255.248
ROUTE_GATEWAY[0]=11.0.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Any clients on this network will need gateway entries of 192.168.1.17 and/or 192.168.1.18
I hope this gives you an idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2003 11:23 PM
09-17-2003 11:23 PM
Re: Static Routes
Network 1
Host1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.9
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=10.0.0.1
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=net 192.168.1.16
ROUTE_MASK[0]=255.255.255.248
ROUTE_GATEWAY[0]=10.0.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Any clients on this network will need a gateway address of 192.168.1.9
Network 2
host1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.17
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=10.0.0.2
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=net 192.168.1.8
ROUTE_MASK[0]=255.255.255.248
ROUTE_GATEWAY[0]=10.0.0.2
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Host2
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.18
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=11.0.0.1
SUBNET_MASK[0]=255.255.255.248
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=net 192.168.1.24
ROUTE_MASK[0]=255.255.255.248
ROUTE_GATEWAY[0]=11.0.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Any clients on this network will need gateway entries of 192.168.1.17 and/or 192.168.1.18
I hope this gives you an idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 01:07 AM
09-18-2003 01:07 AM
Re: Static Routes
Thanks for the replies. I also referred to the following post,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x41e4aff9e020f84b976d697a73d7bb91,00.html
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 07:00 AM
09-18-2003 07:00 AM
Re: Static Routes
ndd -get /dev/ip ip_check_subnet_addr
If it comes back with a 1 then you can expect problems with it.
ndd -get /dev/ip ip_check_subnet_addr 0
to fix the problem and also edit /etc/rc.config.d/nddconf to add
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0
Use the next higher integer in the brackets if you already have entries.
Ron