HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: can't add IPv6 default route
 
Operating System - HP-UX
        1840185
        Members
    
    
        4254
        Online
    
    
        110162
        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
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-11-2008 04:59 AM
09-11-2008 04:59 AM
			
				
					
						
							can't add IPv6 default route
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
So I have an IPv6 tunnel configured:
root@maiden:~#ifconfig iptu0
iptu0: flags=284800851
inet6 fe80::c0a8:e --> fe80::4d4b:687e prefix 10
tunnel mode ip6inip
tunnel src 192.168.0.14 dst 77.75.104.126
root@maiden:~#ifconfig iptu0:1
iptu0:1: flags=284800851
inet6 2a01:348:6:78::2 --> 2a01:348:6:78::1 prefix 64
I'm trying to add a default route via the tunnel endpoint, but it fails:
root@maiden:~#route inet6 add net default 2a01:348:6:78::1
add net default/0 gateway 2a01:348:6:78::1 Network is unreachable
However, the gateway definitely _is_ reachable:
root@maiden:~#ping 2a01:348:6:78::1
PING 2a01:348:6:78::1: 64 byte packets
64 bytes from 2a01:348:6:78::1: icmp_seq=0. time=29. ms
64 bytes from 2a01:348:6:78::1: icmp_seq=1. time=23. ms
64 bytes from 2a01:348:6:78::1: icmp_seq=2. time=22. ms
----2a01:348:6:78::1 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 22/25/29
What's up? (I'm running IPv6NCF11i B.11.11.0705 on HP-UX 11i v1.) 
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
So I have an IPv6 tunnel configured:
root@maiden:~#ifconfig iptu0
iptu0: flags=284800851
inet6 fe80::c0a8:e --> fe80::4d4b:687e prefix 10
tunnel mode ip6inip
tunnel src 192.168.0.14 dst 77.75.104.126
root@maiden:~#ifconfig iptu0:1
iptu0:1: flags=284800851
inet6 2a01:348:6:78::2 --> 2a01:348:6:78::1 prefix 64
I'm trying to add a default route via the tunnel endpoint, but it fails:
root@maiden:~#route inet6 add net default 2a01:348:6:78::1
add net default/0 gateway 2a01:348:6:78::1 Network is unreachable
However, the gateway definitely _is_ reachable:
root@maiden:~#ping 2a01:348:6:78::1
PING 2a01:348:6:78::1: 64 byte packets
64 bytes from 2a01:348:6:78::1: icmp_seq=0. time=29. ms
64 bytes from 2a01:348:6:78::1: icmp_seq=1. time=23. ms
64 bytes from 2a01:348:6:78::1: icmp_seq=2. time=22. ms
----2a01:348:6:78::1 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 22/25/29
What's up? (I'm running IPv6NCF11i B.11.11.0705 on HP-UX 11i v1.)
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-11-2008 05:14 AM
09-11-2008 05:14 AM
			
				
					
						
							Re: can't add IPv6 default route
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Okay, so I found the following did work:
root@maiden:~#route inet6 add net default 2a01:348:6:78::2
Note that that's the IP of _my_ side of the tunnel interface. Is this how it's meant to work in HP-UX? (I haven't noticed this behaviour in Solaris...)
		
		
	
	
	
root@maiden:~#route inet6 add net default 2a01:348:6:78::2
Note that that's the IP of _my_ side of the tunnel interface. Is this how it's meant to work in HP-UX? (I haven't noticed this behaviour in Solaris...)
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