Networking Forums

Networking Forums > Computer Networking > Linux Networking > linux and windows headache

Reply
Thread Tools Display Modes

linux and windows headache

 
 
laxman
Guest
Posts: n/a

 
      10-24-2005, 12:27 PM
Hello there,
I have 3 systems connected in my lab. I have a similar problem as
"The PC Guy" . Two are Linux fedora core 2 and one windows 2000. I have
to simulate a setup in following way.
-------------------------------------- -----------------------
| Linux fc2 Server (eth0:192.168.10.2)|<---->| Linux fc2 workstation |
| mask:255.255.255.0(both) | | (eth0:192.168.10.3, |
| (eth1:192.168.10.1) | | mask:255.255.255.0) |
-------------------------------------- -----------------------
|
|
--------------------------------------
| (ip:130.234.169.93, |
| mask:255.255.255.128) |
| Win2000 professional |
--------------------------------------
The linuxs' need to be in the same network and i need to connect
windows as a different network. I dont have any hub or switch, im just
using X-connection cable. I tried but it doesnt work. Even the linuxes
dont connect natively. I tried to add route in linux box and windows
box. But it changes everything while i restart the interfaces. How do i
set up this network permanently, so that no matter what(network
interface restarts) they are connected in the above given way.

Is there a solution for this problem?

thank you

Best Regards
laxman

 
Reply With Quote
 
 
 
 
laxman
Guest
Posts: n/a

 
      10-24-2005, 12:33 PM
SORRY MY MESSAGE WAS
-----------------------------------------
Hello there,
I have 3 systems connected in my lab. Two are Linux fedora core 2
and one windows 2000. I have
to simulate a setup in following way.
-------------------------------------- -----------------------
| Linux fc2 Server (eth0:192.168.10.2)|<---->| Linux fc2 workstation |
| mask:255.255.255.0(both) | | (eth0:192.168.10.3, |
| (eth1:192.168.10.1) | | mask:255.255.255.0) |
-------------------------------------- -----------------------
|
|
--------------------------------------
| (ip:130.234.169.93, |
| mask:255.255.255.128) |
| Win2000 professional |
--------------------------------------
The linuxs' need to be in the same network and i need to connect
windows as a different network. I dont have any hub or switch, im just
using X-connection cable. I tried but it doesnt work. Even the linuxes
dont connect natively. I tried to add route in linux box and windows
box. But it changes everything while i restart the interfaces. How do i
set up this network permanently, so that no matter what(network
interface restarts) they are connected in the above given way.

Is there a solution for this problem?

thank you

Best Regards
laxman
------------------------------------------------------------------------------------------

 
Reply With Quote
 
Allen McIntosh
Guest
Posts: n/a

 
      10-24-2005, 12:52 PM
What is the Windows box expecting to use as a gateway? Is there any
good reason why you can't make the gateway address the address of eth1
on the Linux server?

Note that if you are getting your IP address from the university via
DHCP, your Windows 2000 box won't work in this setup without some extra
configuring.
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      10-24-2005, 07:37 PM
laxman wrote:
> SORRY MY MESSAGE WAS
> -----------------------------------------
> Hello there,
> I have 3 systems connected in my lab. Two are Linux fedora core 2
> and one windows 2000. I have
> to simulate a setup in following way.
> -------------------------------------- -----------------------
> | Linux fc2 Server (eth0:192.168.10.2)|<---->| Linux fc2 workstation |
> | mask:255.255.255.0(both) | | (eth0:192.168.10.3, |
> | (eth1:192.168.10.1) | | mask:255.255.255.0) |
> -------------------------------------- -----------------------
> |
> |
> --------------------------------------
> | (ip:130.234.169.93, |
> | mask:255.255.255.128) |
> | Win2000 professional |
> --------------------------------------
> The linuxs' need to be in the same network and i need to connect
> windows as a different network. I dont have any hub or switch, im just
> using X-connection cable. I tried but it doesnt work. Even the linuxes
> dont connect natively. I tried to add route in linux box and windows
> box. But it changes everything while i restart the interfaces. How do i
> set up this network permanently, so that no matter what(network
> interface restarts) they are connected in the above given way.
>
> Is there a solution for this problem?
>
> thank you
>
> Best Regards
> laxman
> ------------------------------------------------------------------------------------------



To talk with the Windows box, the server Linux interface eth1
has to be in the same subnet as the Windows box (130.234.169.0/25).

You're confusing the server with two different subnet interfaces
configured into the same net. It's not important and not even
desirable to have several interfaces in a box with the same subnet
(except for some advanced routing cases).

Change eth1 to the proper net and set the default gateway of
both end computers to the server, and you should be able to
ping all the computers in your net.

Do not forget to turn IP forwarding on in the server box.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
Jafar As-Sadiq Calley
Guest
Posts: n/a

 
      10-25-2005, 09:32 AM
My advice would be just to get a network switch. They are cheap and can
remove so many headaches as all you need to do is plug it in and away you
go.

--
Jafar Calley
http://planetblog.homelinux.org
http://fatcat.homelinux.org - Pics from Mars and Saturn!

 
Reply With Quote
 
laxman
Guest
Posts: n/a

 
      10-25-2005, 09:54 AM
Hi,
i am not using any gateway in the windows box. I just put a route in
the windows machine to the linux server. Is a gateway necessary for
windows everytime?

By the way the systems are not connected to university network. The
setup of these 3 systems is not connected to any other network

thank you
lax

 
Reply With Quote
 
laxman
Guest
Posts: n/a

 
      10-25-2005, 09:59 AM
ok tauno I will try the way u said.

 
Reply With Quote
 
Philipp Pagel
Guest
Posts: n/a

 
      10-25-2005, 11:45 AM
laxman <(E-Mail Removed)> wrote:
> I have 3 systems connected in my lab. Two are Linux fedora core 2
> and one windows 2000. I have
> to simulate a setup in following way.
> -------------------------------------- -----------------------
> | Linux fc2 Server (eth0:192.168.10.2)|<---->| Linux fc2 workstation |
> | mask:255.255.255.0(both) | | (eth0:192.168.10.3, |
> | (eth1:192.168.10.1) | | mask:255.255.255.0) |
> -------------------------------------- -----------------------
> |
> |
> --------------------------------------
> | (ip:130.234.169.93, |
> | mask:255.255.255.128) |
> | Win2000 professional |
> --------------------------------------
> The linuxs' need to be in the same network and i need to connect
> windows as a different network. I dont have any hub or switch, im just
> using X-connection cable. I tried but it doesnt work. Even the linuxes
> dont connect natively. I tried to add route in linux box and windows
> box. But it changes everything while i restart the interfaces. How do i
> set up this network permanently, so that no matter what(network
> interface restarts) they are connected in the above given way.


First it would be helpful if you could show us the output of the command
'ifconfig' and 'route -n' for both LINUX machines. I think for the
Windows box that would be 'ipconfig' and I don't remember the equivalent
of 'route' (maybe something with 'net').

My second question is this: What exactly do you want to accopmlish? Do
you need all machines to talk to each other or just the two workstations
to the server?

The latter is easy, the former involved setting up routing on the
server (probably not a very big deal, either).

Also: If none of the machines is connected to any other network, why not
put them all in the same subnet?

Someone already pointed out that of course server interface eth1 needs
to get an IP address in the same subnet as the Windows box.

When you say the Linux machines can't see each other what exactly does
that mean? What exactly did you try? Can they ping each other?

Regarding your question how to make you changes permanent I don't know
for Fedora (probably there is some graphical application to setup the
network?) - in a Debian system you would make your changes in
/etc/network/interfaces.

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-89-3187-3675
Institute for Bioinformatics / MIPS Fax. +49-89-3187-3585
GSF - German National Research Center for Environment and Health
http://mips.gsf.de/staff/pagel
 
Reply With Quote
 
laxman
Guest
Posts: n/a

 
      10-25-2005, 06:36 PM
Hi,
I am actually testing a vpn software so i need to simulate the
situation that one of these is a remote system situated in a different
network than the other two. So, I need that the 2 linux systems are in
the same network and the windows system should be in a different
network.

But in real situation for a VPN the remote system is somewhere else and
it can somehow connect to the server thorough internet. So, I tried to
give the windows system a completely different network address than the
2 linux box'es. I put all the interfaces in linux systems that is 2 in
linux server and 1 in another linux workstation system in
192.168.10.0/255.255.255.0 network. And I tried to connect them by
adding routes to windows and linux server.

I meant that Linux systems are not able to ping each other. I tried
to find the reason why linux WS does not ping to linux server. It was
that when eth0 of linux server box is restarted a route to 192.168.10.0
network through eth0 comes up & linux WS box is able to ping.
And when eth1 is restarted a route to 192.168.10.0 network thorugh
eth1 comes up and linux WS box is not able to ping.

Was the network setup ok? Or should I do it in some other way.
Please give me a solution.

Thank you

Best Regards
Laxman

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      10-25-2005, 06:45 PM
laxman wrote:
> Hi,
> I am actually testing a vpn software so i need to simulate the
> situation that one of these is a remote system situated in a different
> network than the other two. So, I need that the 2 linux systems are in
> the same network and the windows system should be in a different
> network.
>
> But in real situation for a VPN the remote system is somewhere else and
> it can somehow connect to the server thorough internet. So, I tried to
> give the windows system a completely different network address than the
> 2 linux box'es. I put all the interfaces in linux systems that is 2 in
> linux server and 1 in another linux workstation system in
> 192.168.10.0/255.255.255.0 network. And I tried to connect them by
> adding routes to windows and linux server.
>
> I meant that Linux systems are not able to ping each other. I tried
> to find the reason why linux WS does not ping to linux server. It was
> that when eth0 of linux server box is restarted a route to 192.168.10.0
> network through eth0 comes up & linux WS box is able to ping.
> And when eth1 is restarted a route to 192.168.10.0 network thorugh
> eth1 comes up and linux WS box is not able to ping.
>
> Was the network setup ok? Or should I do it in some other way.
> Please give me a solution.


1. Did the setup work?

2. Why the router box and Windows machine cannot be in the
same subnet? The end boxes are in different nets.

3. Which VPN (there are tens of different tunnels)?

4. Both end boxes should have the router box (middle) as their
default gateways. The midle box needs to have the subnets
routed to their respective interfaces. No other routing is
needed.

--

Tauno Voipio
tauno voipio (at) iki fi
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printer headache barkleybassman Wireless Networks 2 06-15-2006 12:32 AM
Home Networking Headache Robin Windows Networking 7 03-05-2004 08:35 PM
Printer Sharing and Headache hash Broadband Hardware 0 01-29-2004 05:44 PM
batch system and scp/rcp headache Martyn Wheeler Linux Networking 0 11-07-2003 08:13 PM
P2P printing headache nospam4me Windows Networking 0 08-18-2003 06:24 PM



1 2 3 4 5 6 7 8 9 10 11