Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Lan Networking W/mandrake 9.0
Mel Goodson
post Aug 30 2003, 07:07 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 30-August 03
Member No.: 1,360



Ok......I have three machines here in my home office. One of them is dual boot - Windows98 SE or Mandrake 9.0. The other two are Win98 SE machines. They all have operating NIC cards - two in the Linux machine with Cat 5 cabeling connecting them to a 5 port switch. My goal is to use the Linux box as a router/gateway for the other two machines.

I set up the Internet Connections in Mandrake Control Panel, eth0 is my WEB device with a DHCP of 12.231.10.100
(Broadband) The system "see's" the ISP and lists not only the IP above but the ISP DNS and ISP default gateway.
My modem is connected to the switch and of course the other machines are connected to the switch as well. I also set up the 'connection sharing' in Mandrake, too.

The second NIC in the Linux box (eth1) is configured (static) as follows: IP is 192.168.1.1 with a gateway of the same? and mask of 255.255.255.0?
This didn't seem correct to me but 'the system' seemed to want that.

One of the other machines I have configured as follows:
IP is 192.168.1.2, mask of 255.255.255.0 - gateway of 192.168.1.1 but I cannot make it connect to the Internet unless I connect the modem directly to the switch and tell this machine to get it's IP from the ISP- in effect negating the IP number that I inserted.

I edited /etc/sysctl.conf so that - net.IPv4.IP-forward=1 instead of '0'. Thats the only system software change that I made.

I'm sure I have eth1 and the 'other' machine screwed up but I cannot figure out how.

Help !!!!!!!!!!! smile.gif
Go to the top of the page
 
+Quote Post
Joey
post Aug 31 2003, 08:05 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



I have a similar setup. I have 2 NIC's in my gateway machine. One NIC goes out to my DSL modem and to the internet. The other nice goes out to the 5 port hub I have. The other machines on the LAN connect up to the hub and use IP Masq. to get onto the net. There's a few IP masq guides on the site and a firewall script that supports this sort of thing.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 11:08 AM