Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FYI i've checked the actual connectivity. The windows system can talk to eth1, but not to eth0 or the world. The linux system via eth1 can talk to the windows system, but the world can't talk to the windows system.
Ah - sorry I assumed that your server had access to the net through linux already.
What happens when you run:
cat /proc/sys/net/ipv4/ip_forward
If it returns 0 then:
echo 1 > /proc/sys/net/ipv4/ip_forward
and try again.
Oh - and when you say windows has no access to the net - I take it that was after making sure that the default gateway was set to the ip of the linux box - yes?
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
10.255.255.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.255.255.1 0.0.0.0 UG 0 0 0 eth0
/etc/iproute2/rt_tables contains:
#
# reserved values
#
#255 local
#254 main
#253 default
#0 unspec
#
# local
#
#1 inr.ruhep
ip route returns:
192.168.0.0/24 dev eth1 scope link
10.255.255.0/24 dev eth0 proto kernel scope link src 10.255.255.5
169.254.0.0/16 dev eth1 scope link
127.0.0.0/8 dev lo scope link
default via 10.255.255.1 dev eth0
Ah sorry I see it was a query to ipchains. That is just because it is installed. No need to worry.
I just can't figure this one out though. Your routing is fine. Forwarding is enabled and an iptables rule is in place and yet you still can't masq out or forward in.
How about trying to get this working one bit at a time.
With the windows server's gateway set to the linux boxes ip what happens if you:
ping www.linuxquestions.org
ping 64.179.4.146
I can't ping linuxquestions.org from the windows box. I'll have my system setup later tonight on a T1 with a static+public IP. Maybe life will get simpler... and I'll reinstall more carefully.
I can ping the IP address from the linux machine. However, I cannot ping the IP from the windows machine. The reinstall's going to have to wait till tommorow. I forgot my CD-Rs []
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.