Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output Post 302971251 by omkar.jadhav on Monday 18th of April 2016 07:08:37 AM
Old 04-18-2016
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 reference :
Code:
# cat /etc/sysconfig/network-scripts/ifcfg-bond1
DEVICE=bond1
IPADDR=x.x.x.x
NETMASK=x.x.x.x
#GATEWAY=x.x.x.x
IPV6INIT=yes
IPV6ADDR=xxxx:xxxx:abcd:xxxx:xx:xx:xx:xxx
IPV6_DEFAULTGW=xxxx:xxxx:abcd:xxxx:xx:xx:xx:xxx
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
BONDING_OPTS="mode=4 miimon=100 xmit_hash_policy=1"
MTU=9000

where abcd is the correct and new ipv6 address which i should see in ifconfig command output , but post network restart and reload i can see below output where efgh which was old ipv6 address :

Code:
# ifconfig bond1
bond1     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:xx.xx.xx.xxx  Bcast:xx.xx.xx.xxx  Mask:xxx.xxx.xxx.xxx
          inet6 addr: xxxx:xxx:abcd:xxx:xxxx:xxxx:xxxx:xxx/64 Scope:Global
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
          inet6 addr: xxxx:xxx:efgh:xxx:xx:xx:xx:xxx/64 Scope:Global
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:9000  Metric:1
          RX packets:9038660506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12779501600 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:619072218642 (576.5 GiB)  TX bytes:15842973892775 (14.4 TiB)

please let me know what needs to be done in order to only reflect new 'abcd' ipv6 in ipconfig command output ?
 

9 More Discussions You Might Find Interesting

1. SuSE

Linux and IPv6

Hi gurus, In a few month, we must enable IPv6 on our Linux Server! Should we reinstall the Linux machine to enable IPv6 or could we just make some change in configuration's files? Could Linux run simultaneous IPv4 and IPv6? Thanks in advance for our help our ideas? Best regards, nm (3 Replies)
Discussion started by: hiddenshadow
3 Replies

2. Solaris

Solaris 19 10/09 ipv6 interface configuration

Hi, anyone has had experience in a static setting an IPv6 interface?, I'm trying accordance with the admin guide (ipv6 network configuration tasks), configure one interface in the server, actually i can do ping to my default gateway and access the Internet in IPv6, the specific point is however,... (3 Replies)
Discussion started by: pabloluja
3 Replies

3. UNIX for Advanced & Expert Users

Assigning multiple IPV6 addresses with ISC dhcpd

Hi, Apologies if this is the wrong forum or this question has been answered already. I'm using the ISC dhcpd server on Centos 6.0, and can happily assign a single IPV6 address to a client with entries like this: subnet6 fd01:0:0:5::/64 { option dhcp6.name-servers fd01:0:0:5::226;... (0 Replies)
Discussion started by: jusme
0 Replies

4. Linux

Help Me: How to set ARP stale time interval on linux platform for Ipv6 interface

Hi, Can any one please help me increase the arp stale time of an ipv6 interface on linux platform ? I have tried increasing the variable gc_stale_time but that doesnt work. Thanks (2 Replies)
Discussion started by: dkothapa
2 Replies

5. IP Networking

IPv6 address block assign/associate with an interface

Hello all, I am trying to receive (tcp/udp/sctp) traffic from all IPs and, eventually, all ports of an IPv6 address block using as few sockets as possible short of implementing my own network stack. One possible solution was to associate an IP block to an interface then bind to that... (6 Replies)
Discussion started by: redwil
6 Replies

6. IP Networking

Is bond0 ready and a bonding interface? - 4G Bonding Router Problems (RPI)

HI all, First post on the forum, and my first proper project on the Paspberry Pi, so sorry if this is in the wrong place. I am trying to turn my Pi in to a 3G/4G Bonding router. I have been researching and trying this for a week or so now. The basic plan is to have up to 6 ZTE MF823 USB... (0 Replies)
Discussion started by: elliottlc
0 Replies

7. Solaris

Solaris 10 IPv6

Hello Dears , please I need your support I have Oracle Solaris 10 X86 server please if you can advise how can I add IP v6 on my server and if IPv6 was disabled how can i enable it also how can i add two IP (v4 and v6) on the same interface or I have to add another interface . Thanks in... (1 Reply)
Discussion started by: ttashman
1 Replies

8. Solaris

How to assign IPv4 and IPv6 addresses with same interface?

Hello dears how to assign IPv4 and IPv6 addresses with same interface on solaris 10 (1 Reply)
Discussion started by: ttashman
1 Replies

9. 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
protocols(4)							   File Formats 						      protocols(4)

NAME
protocols - protocol name database SYNOPSIS
/etc/inet/protocols /etc/protocols DESCRIPTION
The protocols file is a local source of information regarding the known protocols used in the DARPA Internet. The protocols file can be used in conjunction with or instead of other protocols sources, including the NIS maps ``protcols.byname'' and "protocols.bynumber" and the NIS+ table ``protocols''. Programs use the getprotobyname(3SOCKET) routine to access this information. The protocols file has one line for each protocol. The line has the following format: official-protocol-name protocol-number aliases Items are separated by any number of blanks and/or TAB characters. A `#' indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file. Protocol names may contain any printable character other than a field delimiter, NEWLINE, or comment character. EXAMPLES
Example 1 A Sample Database The following is a sample database: # # Internet (IP) protocols # ip 0 IP # internet protocol, pseudo protocol number icmp 1 ICMP # internet control message protocol ggp 3 GGP # gateway-gateway protocol tcp 6 TCP # transmission control protocol egp 8 EGP # exterior gateway protocol pup 12 PUP # PARC universal packet protocol udp 17 UDP # user datagram protocol # # Internet (IPv6) extension headers # hopopt 0 HOPOPT # Hop-by-hop options for IPv6 ipv6 41 IPv6 # IPv6 in IP encapsulation ipv6-route 43 IPv6-Route # Routing header for IPv6 ipv6-frag 44 IPv6-Frag # Fragment header for IPv6 esp 50 ESP # Encap Security Payload for IPv6 ah 51 AH # Authentication Header for IPv6 ipv6-icmp 58 IPv6-ICMP # IPv6 internet control message protocol ipv6-nonxt 59 IPv6-NoNxt # No next header extension header for IPv6 ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 FILES
/etc/nsswitch.conf configuration file for name-service switch SEE ALSO
getprotobyname(3SOCKET), nsswitch.conf(4) NOTES
/etc/inet/protocols is the official SVR4 name of the protocols file. The symbolic link /etc/protocols exists for BSD compatibility. SunOS 5.11 13 Jun 2002 protocols(4)
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy