LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2003, 01:27 AM   #1
w3bbuilder
LQ Newbie
 
Registered: Aug 2003
Location: ROMANIA
Distribution: Red Hat Enterprise Server AS 3.0
Posts: 16

Rep: Reputation: 0
realtek 8139 chipset problem


I realy need a helpful solution for my problem:

I want to setup an internet server on linux SuSE 7.3

I have two realtek 8139B chipset ethernet cards mounted on Acorp 5tx29 mainboard:
-one for my Internet connection on PCI slot 1 - eth0
-one for my LAN connection on PCI slot 2 - eth1

I setup:
- eth0 with static ip from the isp, 217.156.106.188,dns 193.231.112.1, gw 217.156.106.161, mask 255.255.255.224
- eth1 with static ip 192.168.100.1 with dns from the isp 193.231.112.1, mask 255.255.255.0, gw 217.156.106.161

ipconfig look like this:


eth0 Link encap:Ethernet HWaddr 00:02:44:57:06:49
inet addr:217.156.106.188 Bcast:217.156.106.191 Mask:255.255.255.224
inet6 addr: fe80::202:44ff:fe57:649/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:2587 errors:0 dropped:0 overruns:0 frame:0
TX packets:1544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:663592 (648.0 Kb) TX bytes:159322 (155.5 Kb)
Interrupt:10 Base address:0xc000

eth1 Link encap:Ethernet HWaddr 00:02:44:57:06:60
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::202:44ff:fe57:660/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:604 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:60458 (59.0 Kb) TX bytes:2032 (1.9 Kb)
Interrupt:12 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:250 errors:0 dropped:0 overruns:0 frame:0
TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17906 (17.4 Kb) TX bytes:17906 (17.4 Kb)



route -n look like this:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
217.156.106.160 0.0.0.0 255.255.255.224 U 0 0 0 eth1
217.156.106.160 0.0.0.0 255.255.255.224 U 0 0 0 eth0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 217.156.106.161 0.0.0.0 UG 0 0 0 eth0

In this configuration,

- Internet card on PCI slot 1
- LAN card on PCI slot 2,

I have ping to Internet, and no ping to LAN

When i switch the ethernet cards like:

- LAN card on PCI slot 1
- Internet card on PCI slot 2,

the situation become: I have ping to LAN and no ping to Internet

I am not using the firewall.
I want to make a LAN connection, with a Windows XP station.
The Linux and Windows computers are connected with a cross over cable that it's working.
The windows xp computer has disabled the firewall.
Both ethernet cards it's working.
I put the video card on PCI slot 2 and it's working.

Does anyone know where is the problem?
 
Old 08-18-2003, 04:12 AM   #2
arun79
Member
 
Registered: Apr 2003
Location: Bangalore
Distribution: Mandrake 9.1
Posts: 66

Rep: Reputation: 15
Do the basic checks first: -

(A) is the crossover cable ok?
(B) are the RJ45 Connectors connected ok? Are they seated correctly in the etnernet card?
Maybe what I am saying here sounds silly. But these are many a times the things that people overlook. The number of posts about these sorts of things on this site and on the net is huge.

Next. Check out your settings. I notice that you are using the same default gateway for both the intranet and the internet card. Is that the way your ISP has told you to configure the network??
Try making the gateway for the local net the same as the IP address on the LAN of your linux machine.

I use Mandrake 9.1. It has very good hardware autodetection utilities and I find them very easy to use. I have been able to set up my LAN several times and have found the process to be slightly lengthy most of the time. If SuSE has similar hardware and LAN settings detection utilities, try them out. They may not be THE solution. But they help.

One more interesting solution I can give you as a test of your network. Its a floppy based distro called coyote linux. Go to http://www.coyotelinux.com and get the windows based boot disk creator for coyote linux. The process of creating the disk is ridiculously simple and it works out of the box. It is intended for firewalling and routing, But the thing about it is that it will help you find out if the network is correctly configured. As coyote appears to work correctly from the word go if the settings are correct.

Hope that helped you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 8 Realtek 8139 Problem Suse_isnice Linux - Networking 1 07-03-2004 04:05 AM
problem with two realtek 8139 ethernet cards w3bbuilder Linux - Newbie 1 08-15-2003 03:46 PM
Realtek 8139 Problem w3bbuilder Linux - Networking 2 08-14-2003 05:10 AM
realtek 8139 ethernet port problem. poortl9109 Linux - Networking 10 01-09-2003 11:07 AM
Networking with the Realtek 8139 chipset... Simon W Linux - Networking 5 02-22-2002 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration