LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2002, 04:25 PM   #1
deputyjim
LQ Newbie
 
Registered: Nov 2002
Posts: 3

Rep: Reputation: 0
MDK 9.0, Internet Connection Sharing and Shorewall...


I've been trying to get my network going for about two days straight now without success. I've read lots and lots of other help material, again and obviously without success. I have a linux box acting as a router. There's two properly configured ethernet cards aboard, eth0 and eth1. It's connected outbound to a cable modem (eth0) and internally to a laptop running WinXP. I've gone through the wizards of the Control Center (about 50 times) and I've had to reset the firewall each time to off (why can't those settings stick?) They can see each other by pinging and even in Samba (although I haven't figured how to log into the WinXP machine yet - but I'll worry about that later. (Side note: I installed MDK earlier this week and I had ICS running -- somehow). I then installed RH just to see the difference. When I couldn't get ICS working on RH, I thought I'd come back to MDK, but then failure.

The problems is, no traffic (other than pinging the the linux host) will get to the outside world. I suspect it has something to do with the firewall (shorewall), which I tried to disable, but it takes ICS along with it. So I modified the shorewall rules file per this forum, but still no-go. Here's ifconfig and route data:

eth0 Link encap:Ethernet HWaddr
(MAC Addr)
inet addr:68.#.#.# Bcast:68.#.#.# Mask:255.255.248.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62833 errors:0 dropped:0 overruns:0 frame:0
TX packets:29952 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:79460637 (75.7 Mb) TX bytes:2275149 (2.1 Mb)
Interrupt:9 Base address:0x1800

eth1 Link encap:Ethernet HWaddr 00:50:BF:E4:C8:F7
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:450 errors:0 dropped:0 overruns:0 frame:0
TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:47943 (46.8 Kb) TX bytes:74717 (72.9 Kb)
Interrupt:11 Base address:0xb400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:401 errors:0 dropped:0 overruns:0 frame:0
TX packets:401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38480 (37.5 Kb) TX bytes:38480 (37.5 Kb)

192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
68.#.#.# * 255.255.248.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default ubr02-a-rtr.how 0.0.0.0 UG 0 0 0 eth0

I really appreciate the participation of all the members here, especially the extremely knowledgeable ones. I've gotten pretty far on my own my merely lurking and learning. Thanks in advance for the help.

Jim
 
Old 11-21-2002, 03:14 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Have a look at this http://tldp.org/HOWTO/Masquerading-S...WTO/index.html first
 
  


Reply



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
MDK 10 - Sharing Internet connection - cannot even ping Singing Banzo Linux - Networking 15 03-31-2005 09:01 PM
mdk 10.1 - Firewall allows either NFS or Internet connection sharing, not both joseph_k Linux - Networking 3 03-22-2005 01:33 PM
Shorewall, Samba, XP, Internet Sharing - MDK10 dickohead Mandriva 9 06-15-2004 02:32 AM
Problem with internet sharing with mandrake 10 & shorewall woutervdbos Mandriva 8 04-12-2004 08:22 PM
Shorewall Internet Sharing, HELP! timmywo Linux - Networking 2 12-26-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:11 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