LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   realtek 8139 chipset problem (https://www.linuxquestions.org/questions/linux-newbie-8/realtek-8139-chipset-problem-83008/)

w3bbuilder 08-18-2003 01:27 AM

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?

arun79 08-18-2003 04:12 AM

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 :) :)


All times are GMT -5. The time now is 02:06 PM.