Help - Search - Members - Calendar
Full Version: Rotuing Problem
Linuxhelp > Support > Technical Support
It was over 10years ago I was playing around with linux and I managed to forget most of it . sad.gif
Now to the issue.
I am trying to do an ussual routing table and cant get the inside computers to connect to the internet . I jknow it possible I done it before but dont remeber how it should look. Now it looks like this:

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet scope host lo
2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:04:6a:06:70 brd ff:ff:ff:ff:ff:ff
inet brd scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:a0:24:bb:9a:b4 brd ff:ff:ff:ff:ff:ff
inet brd scope global eth1
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth0 U 0 0 0 eth1 U 0 0 0 lo UG 0 0 0 eth0

The big question is what have I made wrong????
I have removed your email address and ICQ number. Putting them on a public forum is jsut asking to get spammed. Not only that, but any answers posted here can help others int hefuture, if someone emails it to you, that answer wont be any help to anyone else.

What linux distribution are you running?

Is the IP address assigned by your ISP?
Is the server IP address of your local network?
Are you local computers configured using a static or dynamic IP address?

You need to configure ip_forward
echo 1 > /proc/sys/net/ipv4/ip_forward

and use iptables to configure firewalling and NAT. There are lots of howtos on the web that you can find by googling. Here is one:

If your local computers are assigned a static IP address you will need to add the DNS information manually.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.