LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-10-2007, 07:58 PM   #1
jCash
Member
 
Registered: Sep 2006
Posts: 57

Rep: Reputation: 15
newb: FC6 Networking Need Help


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).

Thanks.

Quote:
1) Machine 1: Windows XP

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.196.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.183.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1

2) Machine 2: Linux (FC6)

[root@localhost me]# ifconfig
bash: ifconfig: command not found
[root@localhost me]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:6B8:42:C9
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::209:6bff:fed8:42c9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9549 (9.3 KiB) TX bytes:11622 (11.3 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1799 errors:0 dropped:0 overruns:0 frame:0
TX packets:1799 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3697432 (3.5 MiB) TX bytes:3697432 (3.5 MiB)

3) Machine 3: VMware Linux (FC6) Running on Machine 1

[root@localhost me]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:7814
inet addr:192.168.196.131 Bcast:192.168.196.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe78:d1d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4541 (4.4 KiB) TX bytes:11236 (10.9 KiB)
Interrupt:18 Base address:0x1400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2113 errors:0 dropped:0 overruns:0 frame:0
TX packets:2113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3838136 (3.6 MiB) TX bytes:3838136 (3.6 MiB)


i)

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)

[root@localhost me]# ping 192.168.196.131

Last edited by jCash; 07-10-2007 at 09:38 PM.
 
Old 07-11-2007, 01:05 PM   #2
tjyorkshire
Member
 
Registered: Jun 2007
Location: UK
Distribution: openSUSE 10.2
Posts: 138

Rep: Reputation: 15
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!
 
Old 07-11-2007, 03:05 PM   #3
jCash
Member
 
Registered: Sep 2006
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tjyorkshire
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)

Am I right so far?
 
Old 07-11-2007, 05:14 PM   #4
tjyorkshire
Member
 
Registered: Jun 2007
Location: UK
Distribution: openSUSE 10.2
Posts: 138

Rep: Reputation: 15
you certainly are! so this is probably the new stuff you should add in: (i've tweaked it a bit)

Code:
machine 2:
Destination    Gateway     mask            Flags Metric Ref Use Iface
192.168.196.0  192.168.0.1 255.255.255.0   UG    0      0   0 eth0

router:
Destination     Gateway             mask 
192.168.196.0   192.168.196.131     255.255.255.0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newb needs networking assistance morpheusxp Linux - Networking 1 07-09-2003 01:10 PM
Newb Networking Question... Help is appreciated. Chadian22 Linux - Networking 1 11-16-2002 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration