LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-04-2004, 04:12 AM   #1
Lamotta
LQ Newbie
 
Registered: Mar 2004
Location: Finland
Posts: 3

Rep: Reputation: 0
Help newbie for routing....


I have linux (mandrake 9.2) box which supposed to share net connection to the windows XP
box. Linux box has two ethernet cards (eth0 and eth1). Eth0 is for internet and works fine, but eth1
doesn't work. I'm using shorewall. Network monitor logs says the following: "kernel: Shorewall:net2allROP:IN=eth0 OUT= MAC=00:30:4f:0b:26:06:00:0b:fc:43:e0:54:08:00 SRC=4.249.225.70 DST=62.241.217.201 LEN=48 TOS=0x1C PREC=0x20 TTL=112 ID=28668 DF PROTO=TCP SPT=1998 DPT=80 WINDOW=8160 RES=0x00 SYN URGP=0 "
That happens when I'm trying to access internet with the XP box.

My question is : what file/files I have to configure that I can access internet from XP?
Or is there easier way to share connection?

Thanks for advantage.
 
Old 04-04-2004, 08:08 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,187

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Since you are using Mandrake 9.2, you can go to the Mandrake Control Center, you will have tosupply the root password, click on Network and Internet, you should see an icon called DrakGw. It will guide you through configuring a shared connection. Hope this helps.
 
Old 04-04-2004, 08:31 AM   #3
Lamotta
LQ Newbie
 
Registered: Mar 2004
Location: Finland
Posts: 3

Original Poster
Rep: Reputation: 0
Yep I'm familiar with the Control center and I've done the drakGw wizard.
It doesn't get any better... Now in the log is the following : "kernel: MASQUERADE: No route: Rusty's brain broke! "

The first post was because I try to edit shorewall files but now since I ran the wizard again I'm back
to where I started....


Please help someone.... I'm totally lost what to do. What commands should I use that I can set up the route correctly? Now routing table looks like this :
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
dhcp * 255.255.255.255 UH 0 0 0 eth0
62.241.217.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default cable-gw.lohjan 0.0.0.0 UG 0 0 0 eth0

Last edited by Lamotta; 04-04-2004 at 09:56 AM.
 
  


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
Newbie routing VPN and WWW Cubex Linux - Networking 5 06-20-2005 11:42 PM
Newbie questions on fw & routing. fipeso Linux - Networking 2 04-25-2005 05:25 PM
Newbie Project: Box dedicated to MythTV + Routing + Firewall + Hub - Need Advice i-Silver Linux - Newbie 3 06-27-2004 12:46 PM
NewBie Q: Force Routing Unnamed Linux - Networking 0 10-08-2003 04:00 AM
newbie problem with routing to host?? lucastic Linux - Networking 5 08-03-2003 10:12 PM

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

All times are GMT -5. The time now is 02:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration