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.
Here is my setup for networking below. I have a netgear router connecting, windows machine, linux machines and virtual linux running on VmWare in Windows. I need help in i) and iii).
I ping Machine 2 from Machine 3: This DOES NOT WORK (I NEED HELP)
[root@localhost me]# ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
64 bytes from 192.168.0.3: icmp_seq=1 ttl=128 time=4.83 ms
64 bytes from 192.168.0.3: icmp_seq=2 ttl=128 time=1.05 ms
.
.
.
ii)
I ping Machine 3 from Machine 1: This works (Pinging from Machine 1 to VMWare Machine)
C:\Documents and Settings\me>ping 192.168.196.131
Pinging 192.168.196.131 with 32 bytes of data:
Reply from 192.168.196.131: bytes=32 time=18ms TTL=64
Reply from 192.168.196.131: bytes=32 time<1ms TTL=64
Reply from 192.168.196.131: bytes=32 time<1ms TTL=64
Reply from 192.168.196.131: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.196.131:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 18ms, Average = 4ms
iii)
I ping Machine 3 from Machine 2: This DOES NOT WORK (I NEED HELP)
[root@localhost me]# ping 192.168.196.131
PING 192.168.196.131 (192.168.196.131) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Net Unreachable
From 192.168.0.1 icmp_seq=2 Destination Net Unreachable
From 192.168.0.1 icmp_seq=3 Destination Net Unreachable
.
.
.
iv)
I ping Machine 2 from Machine 1: This WORK
C:\Documents and Settings\me>ping 192.168.0.3
Pinging 192.168.0.3 with 32 bytes of data:
Reply from 192.168.0.3: bytes=32 time<1ms TTL=64
Reply from 192.168.0.3: bytes=32 time<1ms TTL=64
Reply from 192.168.0.3: bytes=32 time<1ms TTL=64
Reply from 192.168.0.3: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
v)
I ping Machine 1 from Machine 2: (I CAN SEE THIS IN MY FIREWALL LOG, ZONE ALARM IS BLOCKING IT)
i can see that some of these computers are in different subnets.... is there any need for this?.... my advice would be to stick them all in the same subnet (for example 192.168.0.*) unless there is a need for this in VMware (i haven't used it....)
OR
Configure the routers routing table to allow traffic to pass between the different subnets properly.
You have a lot of information here!, so i hope that this is the problem and you can now solve it!
i can see that some of these computers are in different subnets.... is there any need for this?.... my advice would be to stick them all in the same subnet (for example 192.168.0.*) unless there is a need for this in VMware (i haven't used it....)
OR
Configure the routers routing table to allow traffic to pass between the different subnets properly.
You have a lot of information here!, so i hope that this is the problem and you can now solve it!
Let me see if I understand it properly:
subnet 1: 192.168.0.* (my router 192.168.0.1, linux machine 2: 192.168.0.3, windows machine 1: 192.168.0.2)
subnet 2: 192.168.196.* (VmWare Vmnet8 Linux Machine 3: 192.168.196.131)
subnet 3: 192.168.183.*
What I need to do is put these entries into my linux iptables and into my router:
On machine 2 linux FC6:
if destination: 192.168.196.131 then send it to 192.168.0.1 (my router on subnet 1)
On my router:
if destination: 192.168.196.131 then send it to 192.168.196.* (subnet 2)
There is something, however, that is bugging me about this - i can't quite put my finger on it though, i'll try and have another look for anything else that might need to be included.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.