IPv6 question


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris IPv6 question
# 1  
IPv6 question

I am currently trying to setup static ipv6 address with a persistent default gateway. This is on a Solaris 10 non global zone running inside a Solaris 10 global zone. My production server I am comparing against is a Solaris 10 xen instance running on a Oracle Solaris xen instance.

I have got it working but not as intended. I am dont understand why when i plumb the interface and it comes online with the assigned ip that it also created another 2 interfaces igb1:2 and igb1:3. Why does this happen?

I thought that was the job of ndp to stop auto configuration. My /etc/inet/ndpd.conf file with 644 perms.
Code:
ifdefault StatelessAddrConf false
ifdefault StatefulAddrConf false

Here are the steps I have performed in the following order.

1. created ndpd.conf file with above configuration.
2. Enabled ndp "svcadm enable ndp"
3. vi /etc/hostname6.igb1 to include the below config
addif x:y:z:1001::41/64 up
4. ifconfig igb1 inet6 plumb
5. ifconfig igb1:1 inet6 plumb
6. ifconfig igb1:1 inet6 x:y:z:1001::40/64 up

below is my ifconfig output
Code:
 
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
 inet 127.0.0.1 netmask ff000000 
igb1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
 inet x.y.z.41 netmask ffffff00 broadcast x.y.z.255
 ether 0:21:28:75:dc:1 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
 inet6 ::1/128 
igb1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
 inet6 fe80::221:28ff:fe75:dc01/10 
 ether 0:21:28:75:dc:1 
igb1:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
 inet6 x:y:z:1001::41/64 
igb1:2: flags=20a0841<UP,RUNNING,MULTICAST,NOLOCAL,ADDRCONF,IPv6> mtu 1500 index 2
 inet6 subnet x:y:z:1001::/64 
igb1:3: flags=20a0841<UP,RUNNING,MULTICAST,NOLOCAL,ADDRCONF,IPv6> mtu 1500 index 2
 inet6 subnet x:y:z:1001::/64

We have this implemeneted on a production server. However, that server does not show they igb1:2 and igb1:3 interfaces. I can ping the gateway and the default route. I just dont think the :2, :3 interfaces should show up.

Moderator's Comments:
Mod Comment Please use code tags next time for your code and data. Thanks

Last edited by jpolachak; 06-27-2014 at 11:47 AM.. Reason: code tags
# 2  
What Solaris version exactly?

(Network interfaces are handled very differently in Solaris 11 compared to Solaris 10).
# 3  
Solaris 10. Sorry.
# 4  
Right, it's Solaris 10

I don't know how you've managed to get these interfaces configured (plumbed) but, hopefully, I'll write a few things that may help. This may help you investigate **or provide additional info to us**

THIS IS FOR SOLARIS 10 ONLY

A booting Solaris operating system tries to plumb interfaces if it find files

Code:
/etc/hostname.*

** post the output of

Code:
 
 ls -l /etc/hostname.*

**

hostname.* files contain just the hostname that the system should be seen as on that particular interface.

That host name is resolved to an ip address (usually by looking in /etc/hosts or /etc/inet/hosts for ipv6) and that ip address is used on that interface.

If you have extraneous plumbed interfaces try moving the hostname.* file(s) out of the way by renaming them (mv).

Being sysadmin professionals here never delete anything, just rename.

Reboot the system and see if it comes out with any complaints/errors.
If so, post them here.

Hope that helps.

Last edited by hicksd8; 06-26-2014 at 05:27 PM..
# 5  
Maybe I am missing somethign. I have the file
Code:
/etc/hostname6.igb1

That contains
Code:
addif x:y:z:1001::41/64 up

When I restart the zone it comes up with igb1:1, igb1:2, and igb1:3. Everything works ok. But I dont think it should show the igb1:2 and igb1:3 interfaces.

So I have also tried to add the following to my /etc/hostname6.igb1 configuration.

Code:
x:y:z:1001::41
addif x:y:z:1001::41/64 up

This does now not give me two extra interfaces igb1:2 and igb1:3. However, now I cannot ping my default route. It appears I am missing the routes that get automatically populated via the first mechanism I spoke about.

My question is what am i missing to configure this to work without getting the additional interfaces? I dont see these extra interfaces in our production server. Below is the working netstat output from a working server with only one interface plumbed igb1:1.

Code:
Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- ----- 
x:y:z:1004::/64             z:y:z:1004::9        U       1      41 xnf0:1 
fe80::/10                   fe80::216:3eff:fe45:c0c7    U       1       0 xnf0  
ff00::/8                    fe80::216:3eff:fe45:c0c7    U       1       0 xnf0  
default                     x:y:z:1004::14       UG      1    4587       
::1                         ::1                         UH      1       0 lo0

---------- Post updated at 02:16 PM ---------- Previous update was at 02:12 PM ----------

My /etc/inet/ndpd.conf configuration is:
Code:
cat /etc/inet/ndpd.conf
ifdefault StatelessAddrConf false
ifdefault StatefulAddrConf false

# 6  
A booting Solaris 10 operating system will take it's default route for ipv6 operation from

Code:
/etc/defaultrouter6

This should contain just the ip address of the gateway to which all lan external requests should be sent (assuming there is only one route configured).

Take a look at that.

If the file doesn't exist you can create it with just the gateway ip address on the first line, left justified.

For example:

Code:
22.110.34.1

# 7  
I dont have a /etc/defaultroute6 file on my working production server. My test server I am trying to get this working on I added a persistent route via.

Code:
route -p add -inet6 default z:y:z:1001::15

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #469
Difficulty: Medium
The NTP pool is a dynamic collection of networked computers that volunteer to provide highly accurate time via the Network Time Protocol to clients worldwide.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Just can't turn off ipv6?

I'm running a Linux OS that uses Debian as it's base. A commercial vpn is installed that uses OpenVPN. For some reason, I can't get ipv6 to tunnel properly .... and Ipleak.net shows that my location is being unmasked by ipv6. I've tried kernel commands at boot, I've tried sysctl.conf commands.... (2 Replies)
Discussion started by: benc
2 Replies

2. IP Networking

IPv6 Problems

I am trying to setup an IPv6 network. I modified the interfaces file: /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback iface etho0 inet static address 2620:7:a000::1 netmask 64 gateway ::ffff:c0a8:101 ... (0 Replies)
Discussion started by: Meow613
0 Replies

3. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

4. HP-UX

Ipv6 on hpux

my problem: i want to change from ipv4 to ipv6 on my home network. On hpux i can assign only address non routable as fe80::1 fe80::3 etc to my lan0 Editing netconf-ipv6 i can assing a routable ipv6 address like fd55:282f:3b98::/48 or 2001:470:26:307:89a0:aba1:f98b:eb3e but only to alias... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

5. Red Hat

IPv4 and IPv6 Related Question to CentOS VMs

Hello, I was wondering if it would be possible to run two VMs one with services for IPv4 and the other one with services for IPv6. The main physical system would be connected to a IPv6 switch. I think it should be fine but I would like to hear out your comments. (1 Reply)
Discussion started by: svalenciatech
1 Replies

6. AIX

IPv6 on AIX

Hi Every1, I want to configure IPv6 on AIX and want to communicate between IPv4 machine IP and IPv6 machine. Is it possible? (2 Replies)
Discussion started by: Shrek
2 Replies

7. IP Networking

IPv6 testbed

Hello guyz.. did some of u have implement or making a testbed for IPv6? if yes, can u attached the procedures and standard guidelines because i really need for my proposal.. thanx.. (2 Replies)
Discussion started by: unknown2205
2 Replies

8. IP Networking

Solaris IPv6

Hi, Anybody who worked with IPv6 on Solaris 8. I want to get rid of IPv6 (Uninstall). Any comments ...ideas...will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies

Featured Tech Videos