NIC reactivating automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem in which one of my network interfaces on my 
dual-homed RH 8.0 server is re-activating later after I manually shut 
it down (via 'ifdown eth1').  It appears to happen when I attempt to 
access a VPN address previously routed to the shutdown interface.  
I'm wondering if anyone can tell me how to control this behavior.  
Thanks in advance.  More details follow...

Thanks,
Ed

=== 

This is a dual-homed server with network interfaces eth0 and eth1.  I 
access a VPN at 10.0.0.0/16, and I have 2 VPN clients:  one software, 
one hardware.  When using the hardware client, I configure eth1 and 
route VPN addresses to eth1.  Unfortunately, the Cisco 3002 hardware 
client is not working properly.  So I use the s/w client via eth0 as 
a backup access channel, and believe I'm routing VPN traffic to eth0.  
I have my NICs and routing tables setup to work in either mode as 
follows:

When using eth0 + s/w vpn client:

# ifconfig
eth0      Link encap:Ethernet  HWaddr ...snip...
          inet addr:10.1.2.1  Bcast:10.1.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1356  Metric:1
          RX packets:406740 errors:0 dropped:0 overruns:0 frame:0
          TX packets:422986 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:175291703 (167.1 Mb)  TX bytes:66659541 (63.5 Mb)
          Interrupt:10 Base address:0x7000 
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
10.1.2.0        *         255.255.255.0   U     0      0        0 eth0
127.0.0.0       *           255.0.0.0       U     0      0        0 lo
default   router     0.0.0.0         UG    0      0        0 eth0


When using eth1 + h/w vpn client (which is the reboot mode):

# ifconfig
eth0      Link encap:Ethernet  HWaddr ...snip...  
          inet addr:10.1.2.1  Bcast:10.1.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1356  Metric:1
          RX packets:408360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:424749 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:175930715 (167.7 Mb)  TX bytes:66893033 (63.7 Mb)
          Interrupt:10 Base address:0x7000 

eth1      Link encap:Ethernet  HWaddr ...snip...
          inet addr:11.1.2.1  Bcast:11.1.2.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:3 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:168 (168.0 b)
          Interrupt:5 Base address:0x8000 

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
11.1.2.0        *         255.255.255.0   U     0      0        0 eth1
10.1.2.0        *         255.255.255.0   U     0      0        0 eth0
10.0.0.0        hwvpn   255.255.0.0     UG    0      0     0 eth1
... (snipped other VPN addresses routed to eth1) ...
127.0.0.0       *           255.0.0.0       U     0      0        0 lo
default        router     0.0.0.0         UG    0      0        0 eth0



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux