HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: Static Routing
 
Operating System - Linux
        1840125
        Members
    
    
        1960
        Online
    
    
        110161
        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
 
09-17-2003 11:01 PM
09-17-2003 11:01 PM
			
				
					
					
						Hi, 
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
					
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
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
	For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
			
			
				Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-17-2003 11:30 PM
09-17-2003 11:30 PM
Solution
			
				
					
					
						Funkyness..
Assumptions: LAN = eth0, External = eth1
Network-1
Host 1:
route add default eth1
Network-2
Host 1:
route add default eth0 gw 192.168.1.18
route add -net 192.168.1.8 netmask 255.255.255.248 eth1
Host 2:
route add default eth1
route add -net 192.168.1.8 netmask 255.255.255.248 eth0 gw 192.168.1.16
Network-3
Host 1:
route add default eth1
route add -net 192.168.1.32 netmask 255.255.255.248 eth0 gw 192.168.1.25
Host 2:
route add default eth0 gw 192.168.1.24
route add -net 192.168.1.32 netmask 255.255.255.248 eth1
Network-4
Host 1:
route add default eth1
Or something like that. Simply put..
The end ones (Network1/Network4) don't care, everything is down the external, thus only defaults.
The two middle networks have the default of the larger side of the newtorks, and smaller of the single subnet's of which are the opposite direction.
As a drawing, it's quite ugly ;P lots of over-lapping lines in the middle.
Enjoy ;)
		
		
	
	
	
Assumptions: LAN = eth0, External = eth1
Network-1
Host 1:
route add default eth1
Network-2
Host 1:
route add default eth0 gw 192.168.1.18
route add -net 192.168.1.8 netmask 255.255.255.248 eth1
Host 2:
route add default eth1
route add -net 192.168.1.8 netmask 255.255.255.248 eth0 gw 192.168.1.16
Network-3
Host 1:
route add default eth1
route add -net 192.168.1.32 netmask 255.255.255.248 eth0 gw 192.168.1.25
Host 2:
route add default eth0 gw 192.168.1.24
route add -net 192.168.1.32 netmask 255.255.255.248 eth1
Network-4
Host 1:
route add default eth1
Or something like that. Simply put..
The end ones (Network1/Network4) don't care, everything is down the external, thus only defaults.
The two middle networks have the default of the larger side of the newtorks, and smaller of the single subnet's of which are the opposite direction.
As a drawing, it's quite ugly ;P lots of over-lapping lines in the middle.
Enjoy ;)
	One long-haired git at your service...
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-18-2003 12:45 AM
09-18-2003 12:45 AM
			
				
					
						
							Re: Static Routing
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks a lot .. it worked ..!!!
-Karthik S S
		
		
	
	
	
-Karthik S S
	For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-18-2003 03:04 PM
09-18-2003 03:04 PM
			
				
					
						
							Re: Static Routing
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						*YAY!* *does a funky dance* it worked! it worked! *dances away*
(0pts pls)
		
		
	
	
	
(0pts pls)
	One long-haired git at your service...
			
			
				
			
			
			
			
			
			
		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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP