LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-15-2004, 12:23 PM   #1
Solver
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, 192.168.1.26, connection to the Windows comp

Windows comp:
192.168.1.2, and does have 192.168.1.26 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, 01:27 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

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

Original Poster
Rep: Reputation: 0
Here:

nameserver 193.111.244.10
nameserver 193.111.244.3
nameserver 127.0.0.1
# nameserver 192.168.1.126

# 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 somesite.com, then connecting to xx.xx.xx.xx, where that IP is IP of the site. Also a tracert on somesite.com shows it able to resolve that to an IP.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:15 PM.

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