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
> Rotuing Problem, Need help
maasan
post Aug 26 2005, 01:11 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 26-August 05
Member No.: 5,441



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 127.0.0.1/8 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 212.112.45.246/30 brd 212.112.45.247 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 130.230.238.1/24 brd 130.230.238.255 scope global eth1
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.112.45.244 0.0.0.0 255.255.255.252 U 0 0 0 eth0
130.230.238.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 212.112.45.245 0.0.0.0 UG 0 0 0 eth0





The big question is what have I made wrong????

This post has been edited by DS2K3: Aug 26 2005, 09:46 AM
Go to the top of the page
 
+Quote Post
DS2K3
post Aug 26 2005, 09:46 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



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.

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
michaelk
post Aug 26 2005, 05:07 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



What linux distribution are you running?

Is 212.112.45.245 the IP address assigned by your ISP?
Is 130.230.238.1 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:
http://www.yolinux.com/TUTORIALS/LinuxTuto...orkGateway.html

If your local computers are assigned a static IP address you will need to add the DNS information manually.
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: 20th October 2017 - 05:46 AM