-
Problems regarding DNS/routing
Hi community,
I've got some troubles using my computer as a router.
Here is a short glimpse at my situation.
comp1 is running a hd-installation of the latest knoppix 4.02 CD Image, german.
comp2 is a laptop computer and sometimes connected to comp1's net over a hub.
comp1 has two ethernet network cards, eth1 and eth2
eth1 is responsible for my inet connection over ppp
eth2 should act as dhcp and router
dhcp is working fine (dhcp3-server)
but although i think i have set up everything alright, comp1 won't let comp2 access the net.
here's what i made at comp1:
in /etc/dhcp3/dhcpd.conf
Code:
.
.
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
range 192.168.0.100 192.168.0.200;
.
.
/proc/sys/net/ipv4/ip_forward is set to 1
i then type
Code:
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
comp2 gets an ip if i call ifup or pump, it also has /etc/resolv.conf containing 192.168.0.1
no matter if i turn the /usr/sbin/firewall on or off
nameresolving and routing won't work from comp1
Did I forget something? Is there a trick?
Thanks for any help.
cheers,
Partisan
Similar Threads
-
By Arsène Lupin in forum Networking
Replies: 10
Last Post: 12-16-2004, 05:05 AM
-
By Nic MFP in forum Networking
Replies: 0
Last Post: 10-18-2004, 10:51 PM
-
By wollmersdorfer in forum Networking
Replies: 2
Last Post: 02-19-2004, 08:16 AM
-
By ktheking in forum Ideas
Replies: 0
Last Post: 11-04-2003, 02:25 AM
-
By alexcg in forum Networking
Replies: 2
Last Post: 04-26-2003, 04:18 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)
$10.00

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.57

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$20.85

Knoppix NSM 1.2
$8.00

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$21.42

Hamshack Live DVD-ROM
$7.00

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$34.01