CentOS 5 Networking :: Disable IPv6 On Specific Interfaces?

Apr 10, 2011

Now that IPv6 is becoming more and more common, I found the need to disable IPv6 on some interfaces but have it enabled on other. I found that /proc/sys/net/ipv6/conf/*/disable_ipv6 does exactly that. I am now wondering if anybody knows, why are networking scripts so counterintuitive. /etc/sysconfig/network has an option:

NETWORKING_IPV6=yes

All this option does is disable some ipv6 services (dhcpv6...), it does not disable IPv6 in whole (as one would assume...that's why you had to disable it with module parameters). Searching for more IP6 related config option, one can find that /etc/sysconfig/network-scripts/ifcfg-* scripts can contain:

IPV6INIT=yes

Again, this option does not disable IPv6 protocol on the interface, it just skips running ifup-ipv6/ifdown-ipv6 scripts. I added a /sbin/ifup-pre-local. Now, this script runs before ethX entries are created (other scripts run when it's already too late) in /proc directory, so it modifies default values which are then used after those entries are created:

#!/bin/bash
#
[ -f "/etc/sysconfig/network-scripts/$1" ] && . /etc/sysconfig/network-scripts/$1

[code]...

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Disable IPv6 On Specific Interface?

May 26, 2011

When I run OpenVPN server - tap0 adapter, it breakes Teredo(Miredo) IPv6 address down. I dont need IPv6 on OpenVPN, so is there any way to disable IPv6 on tap0 completely?

View 2 Replies View Related

CentOS 5 Server :: Re-compile Bind With --disable-ipv6?

Dec 31, 2010

I have installed bind with yum install bind bind-chroot.I am having query timeouts due to no ipv6 connectivity.Is there a way to re-compile and not loose the chroot structure?Or is there another way to disable ipv6 lookups?Example of issue resulting in ipv4 query timeout:

30-Dec-2010 17:52:03.226 client x.x.x.x#53593: view internal: query: paypal.com.cms.local IN A +
30-Dec-2010 17:52:03.227 client x.x.x.x#53594: view internal: query: paypal.com.cms.local IN AAAA +
30-Dec-2010 17:52:03.228 client x.x.x.x#53595: view internal: query: paypal.com IN A +

[code]....

View 13 Replies View Related

Ubuntu Networking :: Default Routes For Specific Interfaces?

Oct 15, 2010

I've got a 10.04 machine with two ethernet interfaces. I have two separate outside internet connections. This machine is connected to both interfaces. But it DOES NOT route between them. It's just a host on both subnets. Again, no routing is to go through this host. I'd like to force traffic originating on each ethernet port out to that network's internet connection.

Here's the desired setup:
eth0 192.168.12.37/24 gw 192.168.12.1
eth1 192.168.1.37/24 gw 192.168.1.1

I'd like traffic on the 192.168.1.37 address to go out through the 192.168.1.1 gateway. I have a program bound to that address and need it's traffic to go out ONLY through the 192.168.1.1 gateway. Any other traffic on the machine should go out the 192.168.12.1 gateway.

The logic is: source IP is 192.168.1.37, dest IP is any then go out only through 192.168.1.1 source IP is 192.168.12.37, dest IP is any then go out through 192.168.12.1 first or 192.168.1.1 next. The point is source on the .1.37 address must always go out the .1.1 gateway and NEVER through .12.1. Whereas traffic on the .12.37 address should try going out the .12.1 gateway first but can go out the .1.1 gateway if the .12.1 connection is down. I could live with this failover option. I could accept that traffic on the .12.37 address was likewise limited to its own gateway.

View 3 Replies View Related

Networking :: Disable The Ipv6 Address Only?

Jul 28, 2009

I have a host and typing ifconfig I get:

eth0 Link encap:Ethernet HWaddr 00:0E:7F:4F:E4:09
inet addr:130.130.9.9 Bcast:130.130.255.255 Mask:255.255.0.0
inet6 addr: fe80::20e:7fff:fe4f:e409/64 Scope:Link

[code]...

and to do a test i want to disable or delete the ipv6 address, but mainteining the other configured parameters. Looking on the ifcfg config file I have

DEVICE=eth0
BOOTPROTO=static
BROADCAST=130.130.255.255

[code]....

and nothing about IPv6... Then, using ifdown-ipv6 could i remove only the ipv6 address?

View 11 Replies View Related

Networking :: Disable Ipv6 In Ubuntu 9.04?

Apr 2, 2009

I have tried to disable the ipv6 support in ubuntu 9.04 32bit but the /etc/modprobe.d/aliases does not exist so I can't disable the suport as sugested for the previews versions. I need to disable it becouse it is pounding a total maihem in my vamware machines.

View 7 Replies View Related

Networking :: Bind The Devices To Specific Rfcomm Interfaces Via Udev?

May 8, 2010

# rfcomm -a
rfcomm0: 00:1A:89:09:8C:77 channel 1 clean
rfcomm1: 00:07:E0:2E:99:43 channel 3 clean
Then I connect by the mobile, and:
# rfcomm -a
rfcomm0: 00:1A:89:09:8C:77 channel 1 clean
rfcomm1: 00:07:E0:2E:99:43 channel 3 clean
rfcomm2: 00:1BC:0F:5C:AB -> 00:07:E0:2E:99:43 channel 1 connected [reuse-dlc release-on-hup tty-attached]

What the heck is that rfcomm2, when that mobile is bound to rfcomm1? Is it udev that makes fun of me? If so, how to bind the devices to specific rfcomm interfaces via udev?

[Code]...

View 9 Replies View Related

Ubuntu Networking :: 2+ Internet Interfaces - Control Application Specific Usage?

Mar 24, 2010

I currently have two internet interfaces installed, one is ethernet (eth0) and the second is wireless (wlan0). Many command line applications allow you to specify which interface should be used, but many gui apps don't provide this option or at least I haven't found it. I have some questions:

1. How would I tell Firefox to use only my wlan0 interface? If it's possible in Firefox, is this also possible with Google Chrome?

2. If a program doesn't provide a command line argument to support this, is there a standalone application that could help manage preferences for multiple applications?

View 2 Replies View Related

Ubuntu Networking :: Can Only Connect To Web With Ipv6 Disable In Firefox?

Jan 4, 2010

have had a problem with my ubuntu system recently in that it will only let me connect to the Internet through Firefox if I switch network.dns.disableIPv6 on. How do I do the equivalent in Ubuntu to enable me to use Ephiphany etc which are not working anymore

View 2 Replies View Related

Ubuntu Networking :: Disable ICMP Router Discovery For IPv6?

Jan 14, 2010

I set up a static IPv6 address and a gateway in /etc/network/interfaces. However, a bad router in my network environment alway send wrong ICMP router discovery messages to me. So I have got extra (wrong) IPv6 address and gateway, and the routing is confused. On Windows Servers, I can use "netsh interface ipv6 set interface "Local Area Connection" routerdiscovery=disable" to disable ICMP router discovery. But I don't know how to disable it on Ubuntu 9.10. How could I disable ICMP router discovery for IPv6?

View 4 Replies View Related

Ubuntu Networking :: Can Disable A Specific Wireless Device

May 17, 2011

11.04 64 bit I just picked up a new high-gain usb wireless adapter that I would like to use for a while in place of the built in wireless adapter in my desktop. It is detected and works just fine. My question is this: Is there any way I can disable just the built in adapter and leave the new one active (or visa versa?) I don't want to remove the built-in one as there will be occasions that I will want to use both.

View 6 Replies View Related

Fedora Networking :: Ipv6 With Tunnel Broker - Better Client For Non Native Ipv6 Connectivity?

Jul 22, 2009

I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?

View 2 Replies View Related

Fedora Networking :: FC15 IPV6 Wireless Router - No Longer Gets An IPv6 Address

Aug 31, 2011

I have been struggling to get FC15 to act as an IPv6 router for a while now, am sure I am missing something trivial.. The idea is that I have a ppp / adsl connection (this works fine), use the wireless card on my pc with hostapd and dhcpd to provide connections to other pcs (works fine), and radvd to delegate ipv6 addresses.

The issue seem to be that as soon as I turn on ipv6 forwarding (net.ipv6.conf.all.forwarding =1), the ppp connection no longer gets an IPv6 address. This means the router cannot ping any ipv6 address outside my network.

If I disable ipv6 routing, my router gets an IPv6 address on its ppp connection, and can ping things such as ipv6.google.com just fine, however (of course) no packets are forwarded from my network and radvd complains that forwarding is disabled.

View 1 Replies View Related

Networking :: Ipv6 Stack Not Enabled On Centos 5.6

Jul 25, 2011

I've got a little server setup on my local network and I'm trying to configure it to use miredo. I've got my laptop successfully using it, but for some reason miredo gives this error when I try to start it:

Code:
Error: IPv6 stack not available.

also running "lsmod | grep ipv6" gives these results

Code:
ipv6 270049 1 cnic
xfrm_nalgo 13381 1 ipv6

I get the impression that ipv6 is not enabled on my server, but I'm not sure how I enable it short of doing a reinstall.

View 2 Replies View Related

CentOS 5 Networking :: Add An Additional IPv6 IP To My Already Present VPS?

Jul 28, 2011

I have configured IPv6 in my main server and I can ping IPv6 address (eg. google). but I want to do the same on my VPS.What do I have to do to add an additional IPv6 IP to my already present VPS (IPv4 configured)?I tried the web, but no complete info of doing so anywhere.

View 1 Replies View Related

Networking :: Bridged Interfaces In CentOS

Nov 20, 2010

I have two eth interfaces bridged in CentOS, one of these interface is connected to a Windows Server, I can do a ifconfig down on both these interfaces and there is no change of status at the windows side, I don't get the message that 'network cable has been unplugged'

Is this behavior normal ? I think when you shut an interface than you get the interface down message at other end ? And what becomes the status of the bridge if I shutdown one of its interface ?

View 1 Replies View Related

CentOS 5 Networking :: Setup A Perfect Server 5.5 With IPv6 Only

Mar 1, 2011

I have a he.net ipv6 tunnel account and a manage to pass all the test to sage mode, but with debian 6.

I would like to have a step-by-step setup of centos 5.5 with iRedMail 0.7, but for only ipv6.

IP6TABLES
iRedMail with LDAP
DHCP for ipv6 (optional, just wanted to see the config)

Can't seem to add jpg files.

View 1 Replies View Related

CentOS 5 Networking :: Where Are File /etc/network/interfaces

Jan 15, 2010

I work now with Centos 5.4 and I would like configure my Ethernet, but I can't find the /etc/network/interfaces like in CentOS 5.2.

[root@headnode1 etc]# uname -rmi
2.6.18-164.10.1.el5 i686 i386
[root@headnode1 etc]#

View 4 Replies View Related

CentOS 5 Networking :: Moving Interfaces At Boot?

Oct 6, 2010

I have a series of four config scripts which all run in sequence of each other.first occurs during the whole kcikstart thing.Kickstart then tells rc.local to run step2, which then tells rc.local to run step 3. No steps are repeated, after they are run they delete themselves from rc.local.After each step, it reboots.Step 3 is responsible for creating the /etc/sysconfig/network-scripts/ifcfg-eth1 file, and populating it. It greps ifconfig -a for the mac address of USB0.

#! /bin/bash

# Check to see if the usb nic takes eth2, if it does, move it to eth1[code]............

View 1 Replies View Related

CentOS 5 Networking :: 2 Bond Interfaces 2 Different Modes

Dec 7, 2010

I have 4 NICs and am trying to create 2 bonds. The first bond is mode 1, the second is mode 4. What happens though is makes both bonds mode 1. Here's my modeprobe.conf:

alias bond0 bonding
options bond0 miimon=80 mode=1
alias bond1 bonding
options bond1 miimon=100 mode=4 lacp_rate=1

View 4 Replies View Related

Ubuntu Networking :: ADVISEADDR: Error In Specifying Interfaces: No Existing Ip Interfaces Found

Jan 7, 2010

I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.

It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"

Code:

ADVISEADDR:error in specifying interfaces: no existing ip interfaces found

#lspci

Code:

04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network

[code].....

View 5 Replies View Related

CentOS 5 Networking :: Which File Can Setup Up Network Interfaces

Jul 20, 2009

which file can setup up my network interfaces? i was able to setup the nameserver using /etc/resolv.conf but I cannot find anywhere to configure the ip and and gateway. I could't find /etc/network/interfaces as you do on Debian

View 1 Replies View Related

Fedora Networking :: Enable 3 Interfaces \ When Start One Interface The Another Interfaces Goes Down?

Jan 25, 2010

I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:

Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255

View 12 Replies View Related

OpenSUSE :: How To Disable IPv6

Jan 9, 2011

I am experiencing very slow internet speed while downloading files from internet. Although torrent (KTorrent) download speeds are okay. I am using 'rekonq' Web Browser. Konqueror is slower than this and Firefox is the slowest. Thats why I have uninstalled Firefox from my Suse 11.3 KDE. I went through the guides mentioned here:

Disable IPv6 But the images shown here in the first post (by caf4926) [URL] have slightly different configuration from my computer. (My account does not allow me to post attachments). In the pic 2, Do we have to select the option: "User Controlled with NetworkManager" before unchecking the Enable IPv6 option.

View 4 Replies View Related

CentOS 5 Networking :: Dosen't Enslave Bonded Interfaces On Boot?

Feb 9, 2011

I have a rack of IBM x335s. They are all running 802.1Q over 802.3ad, that is VLAN trunking over two physical Ethernet bonded with LACP. Its been working fine on all of the servers for years.One server recently had its hard drives upgraded and CentOS reinstalled. It is a minimal install. The server has been reconfigured exactly as it was and has been verified and compared against the other working servers.It will not enslave the interfaces on boot. You can manually enslave and then bring up the network, so that much of the configuration is verified. It simply refuses to enslave... which fails everything that comes after thatHere is a snippet of the message log on the machine that does not enslave on boot

Jan 31 22:28:57 vm3srvp01 kernel: NET: Registered protocol family 10
Jan 31 22:28:57 vm3srvp01 kernel: lo: Disabled Privacy Extensions
Jan 31 22:28:57 vm3srvp01 kernel: IPv6 over IPv4 tunneling driver

[code]....

View 2 Replies View Related

Ubuntu Networking :: Adding Interfaces To /etc/network/interfaces?

Apr 16, 2010

If I try to add a new interface (eth1) to /etc/network/interfaces, I get

Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

How do I add 2 interfaces and get anyone of them to work, as available ?

View 5 Replies View Related

Ubuntu :: Disable IPv6 In Lucid?

May 4, 2010

Okay so on WebUpd8 website, (url), I found a way to disable IPv6 and I was hoping to get a little more of an understanding of if I should or not from comments there, but unfortunately I haven't gotten enough to say let's do that. So I figured I might get a better understanding on here.

I am not very familiar with IPv6, but to my understanding its a newer thing that's rarely found currently with ISPs, but can be a security issue now.

View 9 Replies View Related

Ubuntu Security :: How To Disable IPv6 On 10.04

Aug 9, 2010

Anyone know how to disable IPv6 but still use IPv4?

View 6 Replies View Related

Debian Configuration :: Disable IPV6 In Lenny?

Sep 25, 2010

Howto disable IPV6 in Lenny?

I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases

# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.

[Code]....

alias ipv6 offbut howto check after restart if ipv6 was loaded or not?

View 7 Replies View Related

OpenSUSE Network :: Disable IPv6 On All Connections?

Jun 18, 2010

does opensuse 11.2 come with IPv6 enabled by default? where in the gnome gui can i access these settings?

Edit-i went into the gnome network manager applet and i cant find any IPv6 settings for any of my used connections-ethernet, wireless and VPN connections all seem to only IPv4. Can anyone else confirm that opensuse 11.2 uses only IPv4 on its network connections?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved