Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 05-15-2004, 01:23 PM   #1
LQ Newbie
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Another LAN problem

Currently, there's little help from the threads I've read on this subject.

I have a Mandrake box with two cards, and a Windows box. Connected by crossover cable, all fine. When the Mandrake computer is booted into Windows, Internet sharing goes fine. Not so when running Mandrake.

The Mandrake box:
eth1, connected to Internet through a gateway, static IP, properly configured.
eth0,, connection to the Windows comp

Windows comp:, and does have as its gateway setting. As said, net here works when the first comp is booted into Windows.

I updated Shorewall (heard that the one Mandrake 10 ships with is buggy), and I set up iptables - when booting, I get the "Starting IPv4 packet forwarding" message. Pings travel fine between the two computers both ways. However, the Windows comp can't access the Internet. It does resolve names to IP addresses, but it doesn't go any farther than that. A traceroute to any site stops after succesfully reaching the Mandrake box.

I assume there's something wrong in either my iptables or shorewall config that doesn't let the Windows computer's packets be passed on to the Internet, and that prehaps routing only works one way - from Mandrake comp to Windows comp, but not the other way around. Any ideas or areas where I need to elaborate?

Much appreciated!
Old 05-15-2004, 02:27 PM   #2
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
What's in your /etc/resolv.conf?
Old 05-15-2004, 02:39 PM   #3
LQ Newbie
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0

# nameserver

# ppp temp entry

The first two are my ISP DNS servers. Should I outcomment the last line?

However, I think that DNS works. When I load up IE on Windows box, it says there, connecting to, then connecting to xx.xx.xx.xx, where that IP is IP of the site. Also a tracert on shows it able to resolve that to an IP.


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
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 02:35 PM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 07:43 AM
Asus a7n266-vm/lan/aa: Problem with onboard lan jmourik Linux - Hardware 9 08-13-2003 01:13 AM
LAN problem mutasyon Linux - Networking 8 07-27-2003 05:14 AM
Slackware 9.0 Lan Card problem and a problem adding a user! BmxFace Slackware 1 07-03-2003 08:05 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:00 AM.

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