Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can't get my desktop-laptop network to simultaneous communicate with internet

Reply
Thread Tools Display Modes

Can't get my desktop-laptop network to simultaneous communicate with internet

 
 
Andrew P. Billyard
Guest
Posts: n/a

 
      01-13-2004, 09:47 AM
I'm hoping someone can easily identify the problem I am
having (I'm running Fedora Core 1 on my AMD
K6-2/500 box). My network
topology is

internet ----- eth0 (server) eth1 -------- eth0 (laptop)

with a crossover between machines. Now, here is the kicker. If I don't have
eth1 up and running I can communicate with the internet no problem. As soon
as I "ifup eth1" (with dhcpd on or off and all firewalls turned off) I can't
see out. For instance "ping astro.queensu.ca" and "ping 130.15.26.30" just
sit there like bumps on a log and any web-browsing times out. However,
my desktop and the laptop have no problems communicating. As soon as I
"ifdown eth1" all works again with the internet, but now my machines
(obviously) won't talk. Is there something subtle that I've missed?
I haven't even got to masquerading yet because I can't resolve this.

Sinerely,
Andrew

P.S.: Some system configs:

=======================================
/etc/sysconfig/network-scripts/ifcfg-eth0:
-----------------------------------------------------------
# Realtek|RTL-8029(AS)
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:E0:29:8D:F0:84
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

========================================
/etc/sysconfig/network-scripts/ifcfg-eth1
------------------------------------------------------------
# Realtek|RTL-8029(AS)
DEVICE=eth1
IPADDR=192.168.1.1
ONBOOT=yes

========================================
/etc/modules.conf (set up automatically by RedHat's kudzu)
------------------------------------------------------------
alias eth0 ne2k-pci
alias usb-controller usb-ohci
alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias eth1 ne2k-pci

===========================================
output from ifconfig (exluding lo):
-----------------------------------------------
eth0 Link encap:Ethernet HWaddr 00:E0:29:8D:F0:84
inet addr:10.40.188.180 Bcast:10.40.188.191 Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2303 errors:0 dropped:0 overruns:0 frame:0
TX packets:2561 errors:0 dropped:0 overruns:0 carrier:0
collisions:1 txqueuelen:1000
RX bytes:1256924 (1.1 Mb) TX bytes:614828 (600.4 Kb)
Interrupt:10 Base address:0xb000

eth1 Link encap:Ethernet HWaddr 00:80:C8:F1:F8:7E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:172 errors:0 dropped:0 overruns:0 frame:0
TX packets:6137 errors:168 dropped:0 overruns:0 carrier:336
collisions:2856 txqueuelen:1000
RX bytes:19685 (19.2 Kb) TX bytes:397743 (388.4 Kb)
Interrupt:9 Base address:0xb800

 
Reply With Quote
 
 
 
 
Andrew P. Billyard
Guest
Posts: n/a

 
      01-13-2004, 09:52 AM
I forgot to add route -n output with and without eth1:

Without eth1:

Destination Gateway Genmask Flags Metric Ref Use Iface
10.40.188.176 0.0.0.0 255.255.255.240 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.40.188.177 0.0.0.0 UG 0 0 0 eth0


With eth1:

Destination Gateway Genmask Flags Metric Ref Use Iface
10.40.188.176 0.0.0.0 255.255.255.240 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.40.188.177 0.0.0.0 UG 0 0 0 eth0

 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      01-14-2004, 04:40 AM
Andrew P. Billyard <(E-Mail Removed) > wrote:

> internet ----- eth0 (server) eth1 -------- eth0 (laptop)
>
> with a crossover between machines. Now, here is the kicker. If I don't have
> eth1 up and running I can communicate with the internet no problem. As soon
> as I "ifup eth1" (with dhcpd on or off and all firewalls turned off) I can't
> see out. For instance "ping astro.queensu.ca" and "ping 130.15.26.30" just
> sit there like bumps on a log and any web-browsing times out. However,
> my desktop and the laptop have no problems communicating. As soon as I
> "ifdown eth1" all works again with the internet, but now my machines
> (obviously) won't talk. Is there something subtle that I've missed?
> I haven't even got to masquerading yet because I can't resolve this.
>
> Sinerely,
> Andrew
>
> P.S.: Some system configs:
>
> =======================================
> /etc/sysconfig/network-scripts/ifcfg-eth0:
> -----------------------------------------------------------
> # Realtek|RTL-8029(AS)
> DEVICE=eth0
> BOOTPROTO=dhcp
> HWADDR=00:E0:29:8D:F0:84
> ONBOOT=yes
> TYPE=Ethernet
> USERCTL=no
> PEERDNS=no
>
> ========================================
> /etc/sysconfig/network-scripts/ifcfg-eth1
> ------------------------------------------------------------
> # Realtek|RTL-8029(AS)
> DEVICE=eth1
> IPADDR=192.168.1.1
> ONBOOT=yes
>
> ========================================
> /etc/modules.conf (set up automatically by RedHat's kudzu)
> ------------------------------------------------------------
> alias eth0 ne2k-pci
> alias usb-controller usb-ohci
> alias sound-slot-0 es1371
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
> alias eth1 ne2k-pci
>
> ===========================================
> output from ifconfig (exluding lo):
> -----------------------------------------------
> eth0 Link encap:Ethernet HWaddr 00:E0:29:8D:F0:84
> inet addr:10.40.188.180 Bcast:10.40.188.191 Mask:255.255.255.240
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2303 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2561 errors:0 dropped:0 overruns:0 carrier:0
> collisions:1 txqueuelen:1000
> RX bytes:1256924 (1.1 Mb) TX bytes:614828 (600.4 Kb)
> Interrupt:10 Base address:0xb000
>
> eth1 Link encap:Ethernet HWaddr 00:80:C8:F1:F8:7E
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:172 errors:0 dropped:0 overruns:0 frame:0
> TX packets:6137 errors:168 dropped:0 overruns:0 carrier:336


These TX errors are disturbing. You may have a bad card, cable (or
both). Or there is some kind of conflict going on.

cat /proc/interrupts (pay attention to the last three lines)

Try this

watch /sbin/ifconfig eth1 #This is a program
#In another terminal, create some network activity
ping -f 192.168.1.X #Change X to something valid
#Now look at what the error counters are doing.

Also, are there any relevant messages in dmesg?

If you have a testing utility for the card, try it.

> collisions:2856 txqueuelen:1000
> RX bytes:19685 (19.2 Kb) TX bytes:397743 (388.4 Kb)
> Interrupt:9 Base address:0xb800


--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Andrew P. Billyard
Guest
Posts: n/a

 
      01-15-2004, 08:21 AM
On Wed, 14 Jan 2004 18:40:10 +1300, Cameron Kerr wrote:

> Andrew P. Billyard <(E-Mail Removed) > wrote:
>
>> [quoted text muted]

>
> These TX errors are disturbing. You may have a bad card, cable (or
> both). Or there is some kind of conflict going on.
>
>


Okay, I replaced the card completely. I feel like a bit of a putz because
I forgot to specify "GATEWAYDEVICE=eth0" in my /etc/sysconfig/network
file. Now when I bring up eth1 I can ping, browse etc., but only by IP
NUMBER only. This certainly sounds like a dns issue, but I don't
understand why bringing up a second card kills my DNS, which is my ISP's
DNS outside of my system (in fact, through the default gateway). Any
suggestios?

Cheers,
Andrew
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet > Laptop > Desktop Robin Clay Broadband Hardware 0 10-28-2009 08:36 PM
Connecting laptop to desktop internet connection? debz_w69 Wireless Networks 3 10-27-2006 01:17 AM
XP laptop SE desktop both see internet but cannot see each other Tulaqi Windows Networking 3 08-05-2006 12:26 AM
Laptop Won't Communicate with Desktop freakyO Wireless Networks 1 06-20-2005 02:18 AM
Windows XP laptop and Windows 2000 desktop won't communicate Rifleman Wireless Networks 0 08-19-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11