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
> Ip Masquerade Rh8, not working...
z9u2K
post Dec 14 2002, 05:15 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 14-December 02
Member No.: 236



Hey all,
I running Linux RedHat 8.0 on kernel 2.4.18.18.0.8 (or something like that), and I'm trying to make my linuxbox the gateway of my network to the internet.

my gateway is 192.168.0.1 and all the rest are 192.168.0.2, 192.168.0.3 etc...

my gateway uses two NICs:
eth0 - the NIC for my DSL modem, ppp0 will connect to it
eth1 - the NIC for my internal network

Anyhow, after reading the IP-Masquerade-HOWTO and doing all the steps the situation is like this:
Gateway can resolv DNSs, ping and surf w/o any probs.
Client(s) can ping only inside the network, cannot resolv DNS (timeout) and cannot ping to the outside wold (again: timeout) w. and exception... Clients can ping to the IP address assigned to ppp0, which is the IP address I am getting from my ISP...

The gateways, static IPs, DNS servers etc. are all fine, checked them more then three times.

Inside the network pinging works in any direction. from Client to Client, from Gateway to Client and from Client to gateway. gateway to Internet works just file. Client to Internet does not. Client to ppp0 - works...

I don't have DHCP, I am using static IP addresses...

on my gateway (w/ only one client connected):
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bzq-142-1.red.b * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default bzq-142-1.red.b 0.0.0.0 UG 0 0 0 ppp0

arp:
Address HWtype HWaddress Flags Mask Iface
192.168.0.3 ether 00:40:F4:44:4F:3B C eth1
10.0.0.138 ether 00:90:D0:39:BA:0D C eth0

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:30:4F:11:95:37
inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:797 errors:0 dropped:0 overruns:0 frame:0
TX packets:1430 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:540983 (528.3 Kb) TX bytes:239251 (233.6 Kb)
Interrupt:10 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 00:30:4F:11:8C:B0
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:156 errors:0 dropped:0 overruns:0 frame:0
TX packets:459 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:17319 (16.9 Kb) TX bytes:46284 (45.1 Kb)
Interrupt:11 Base address:0xa000

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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 cool.gif TX bytes:700 (700.0 cool.gif

ppp0 Link encap:Point-to-Point Protocol
inet addr:62.219.142.19 P-t-P:62.219.142.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1
RX packets:617 errors:0 dropped:0 overruns:0 frame:0
TX packets:693 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:497075 (485.4 Kb) TX bytes:141949 (138.6 Kb)

Anybodt had an idead hot to solve this?
Go to the top of the page
 
+Quote Post
frodo44
post Dec 14 2002, 01:57 PM
Post #2


./configure
***

Group: Members
Posts: 95
Joined: 2-December 02
Member No.: 213



I'm not quite sure how to do what you want to do through software, but I do know that its a heck of a lot easier to break down and spend the $50 for a Cable/DSL router. I was trying to do the same thing you were doing on Windows, and it was a pain in the butt to set up. If you have the money, save yourself the grief, and hassle, of setting it up and get a router. Another thing is that with the router, you don't have to have your gateway on all the time to be able to access the internet from the other computers.

Eric


--------------------
Windows XP; Debian 3.0r2 (Woody)
---
Shuttle AK32 Mobo w/ Athlon XP 1700+ @ 266 FSB
GeForce 4 mx440 64mb
Turtle Beach Santa Cruz 5.1 Surround Sound
256 MB DDRAM
Seagate 80gb, Western Digital 40gb
---
weezle@charter.net
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: 21st October 2017 - 01:35 AM