This is a discussion on Hi, within the Linux Networking forums, part of the Linux Forums category; I am doing masquarading using my Debian machine running Sarge. Earlier I was running the default kernel that comes with ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am doing masquarading using my Debian machine running
Sarge. Earlier I was running the default kernel that comes with Woody (2.4.18-bf14 or something). Today I upgraded to the new kernel: /var/log# apt-get -u install kernel-image-2.4.22-1-686 kernel-doc-2.4.22 kernel-headers-2.4.22-1 kernel-pcmcia-modules-2.4.22-1-686 pcmcia-cs hotplug usbutils fxload hotplug-utils Lines: 322 Message-ID: <VheAb.15834$yd.2402151@news20.bellglobal.com> Date: Sat, 06 Dec 2003 01:02:30 -0500 NNTP-Posting-Host: 65.94.48.185 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1070690549 65.94.48.185 (Sat, 06 Dec 2003 01:02:29 EST) NNTP-Posting-Date: Sat, 06 Dec 2003 01:02:29 EST Organization: Bell Sympatico Xref: intern1.nntp.aus1.giganews.com comp.os.linux.networking:433310 And after this, I lost one of the NICs. I have two NICs, one is 192.168.0.1 connected to the ADSL moden, and the other is 192.168.0.2 connected to the internal LAN. So when I booted into the new kernel, the second NIC RLT8139 was not detected. But when I did pppoeconf, it listed only 1 NIC and asked if I had more which were not detected. I said Yes, and it hen allowed me to install the module for the RLT NIC. And after that it reported 2 NICs fine. So after configuring ppp0, I could browse the net, but my internal LAN machine can't. I can't even ping that machine. I am running the same iptables rules as before. Here is what I get: /var/log# ping 192.168.0.10 PING 192.168.0.10 (192.168.0.10): 56 data bytes ping: sendto: Operation not permitted ping: wrote 192.168.0.10 64 chars, ret=-1 ping: sendto: Operation not permitted ping: wrote 192.168.0.10 64 chars, ret=-1 --- 192.168.0.10 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss I get this evenif I do "/etc/initd/iptables clear". Here is my interfaces file: /etc/network# more interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card - this entry was created during the Debian installatio n # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 #gateway 192.168.0.0 auto eth1 iface eth1 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 #gateway 192.168.0.2 Any idea what could have gone wrong during installation of thsi new kernel? More information is below. Thanks, ->HS /var/log# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 65.94.50.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 65.94.50.1 0.0.0.0 UG 0 0 0 ppp0 /var/log# ifconfig eth0 Link encap:Ethernet HWaddr 00:04:75:8A:D6:DF inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5932 errors:0 dropped:0 overruns:0 frame:0 TX packets:2601 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1995603 (1.9 MiB) TX bytes:324216 (316.6 KiB) Interrupt:9 Base address:0xd800 eth1 Link encap:Ethernet HWaddr 00:50:BA:50:03:87 inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:272 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:19882 (19.4 KiB) TX bytes:0 (0.0 b) Interrupt:9 Base address:0xd000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:117 errors:0 dropped:0 overruns:0 frame:0 TX packets:117 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9793 (9.5 KiB) TX bytes:9793 (9.5 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:65.94.50.150 P-t-P:65.94.50.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:668 errors:0 dropped:0 overruns:0 frame:0 TX packets:501 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:391058 (381.8 KiB) TX bytes:57560 (56.2 KiB) /var/log# lspci 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03) 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 12) 00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12) 00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12) 00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12) 00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12) 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) 02:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) installed new kernel, but lost internal network Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I am doing masquarading using my Debian machine running Sarge. Earlier I was running the default kernel that comes with Woody (2.4.18-bf14 or something). Today I upgraded to the new kernel: /var/log# apt-get -u install kernel-image-2.4.22-1-686 kernel-doc-2.4.22 kernel-headers-2.4.22-1 kernel-pcmcia-modules-2.4.22-1-686 pcmcia-cs hotplug usbutils fxload hotplug-utils And after this, I lost one of the NICs. I have two NICs, one is 192.168.0.1 connected to the ADSL moden, and the other is 192.168.0.2 connected to the internal LAN. So when I booted into the new kernel, the second NIC RLT8139 was not detected. But when I did pppoeconf, it listed only 1 NIC and asked if I had more which were not detected. I said Yes, and it hen allowed me to install the module for the RLT NIC. And after that it reported 2 NICs fine. So after configuring ppp0, I could browse the net, but my internal LAN machine can't. I can't even ping that machine. I am running the same iptables rules as before. Here is what I get: /var/log# ping 192.168.0.10 PING 192.168.0.10 (192.168.0.10): 56 data bytes ping: sendto: Operation not permitted ping: wrote 192.168.0.10 64 chars, ret=-1 ping: sendto: Operation not permitted ping: wrote 192.168.0.10 64 chars, ret=-1 --- 192.168.0.10 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss I get this evenif I do "/etc/initd/iptables clear". Here is my interfaces file: /etc/network# more interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card - this entry was created during the Debian installatio n # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 #gateway 192.168.0.0 auto eth1 iface eth1 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 #gateway 192.168.0.2 Any idea what could have gone wrong during installation of thsi new kernel? More information is below. Thanks, ->HS /var/log# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 65.94.50.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 65.94.50.1 0.0.0.0 UG 0 0 0 ppp0 /var/log# ifconfig eth0 Link encap:Ethernet HWaddr 00:04:75:8A:D6:DF inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5932 errors:0 dropped:0 overruns:0 frame:0 TX packets:2601 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1995603 (1.9 MiB) TX bytes:324216 (316.6 KiB) Interrupt:9 Base address:0xd800 eth1 Link encap:Ethernet HWaddr 00:50:BA:50:03:87 inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:272 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:19882 (19.4 KiB) TX bytes:0 (0.0 b) Interrupt:9 Base address:0xd000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:117 errors:0 dropped:0 overruns:0 frame:0 TX packets:117 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9793 (9.5 KiB) TX bytes:9793 (9.5 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:65.94.50.150 P-t-P:65.94.50.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:668 errors:0 dropped:0 overruns:0 frame:0 TX packets:501 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:391058 (381.8 KiB) TX bytes:57560 (56.2 KiB) /var/log# lspci 00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03) 00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03) 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 12) 00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12) 00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12) 00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12) 00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12) 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) 02:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78) 02:0b.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10) 02:0c.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) -- (Please remove all underscores from my email address to get the correct one. Apologies for the inconvenience, but this is to reduce spam.) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|