Mailinglist Archive: opensuse-networking (9 mails)

< Previous Next >
Re: [Fwd: Re: [opensuse-networking] openSUSE routing Q]
  • From: "Mark Van De Vyver" <mvyver@xxxxxxxxx>
  • Date: Tue, 12 Feb 2008 20:49:57 +1100
  • Message-id: <389c43e40802120149y990313v2f895b3a7da21904@xxxxxxxxxxxxxx>
On Feb 12, 2008 8:18 PM, Hans defaber <hans.defaber@xxxxxxxxx> wrote:

Mark Van De Vyver schreef:
Hi,
I'd appreciate it if anyone could indicate how I might easily
accomplish the following (at the linux hobbyist rather than linux-guru
level) using openSUSE 10.2.

I have three machine connected back-to-back (no router or switches)
and would like to be able to access any of them from any of them if
that makes sense? There are no firewalls any of the connections.

Id' appreciate any hints about tools to use (is YaST >>networ
service>>Routing the preferred tool?), or am I going to have to hand
edit config files?
I'm not quite sure what linux 'services' I'd be dealing with - I guess
iptables.... but I'm still trying to read-up on some of this :)

Appreciate any tips or hints.

Cheers
Mark

Hi Mark,
The hobbyists story

Hi Hans -

How did you connect this three computers together ?

Apologies for the vagueness. Each machine has two network ports so I
connect them such that each machine has one direct connection to the
other two. On reflection I suppose I should have said what I'd like to
be able to do is, from any machine, connect to the other (two)
machines through either of the interfaces. I'm probably not being
very clear.

Connecting 3 computers together without a switch is only possible th a
coaxcable with 3 Tconnectors and two 50 ohm endstubs.

Connecting two computers together with UTP cable is posible with a crossover
cable.

OK I do have cross over cables.

3 Computers connected with UTP should use at least a simple switch.

If you did this you don't need any kind of routing.

But then where would the fun be?

Give them a'n IP adres, for instance 10.10.10.1 and 10.10.10.2 and 10.10.10.3
and set the networkmask to 255.255.255.0

Then you can do everything between this computers.

This comment is in reference to using a switch right?

You can also give this computers a name something as comp1 comp2 and comp3.
Then you have to put this names in the /etc/hosts file

10.10.10.1 comp1
10. and so on

Thanks I'll do that.

Then you can access this computers by name.

If you want to test if the connection works then do a ping.

ping 10.10.10.2
or
ping comp2

Thats it.

Thanks again for the suggestions.

Cheers
Mark




And if want to connect to the internet you have to buy a simple router and use
firewalling and set the default gateway.

Succes, Hans


--
To unsubscribe, e-mail: opensuse-networking+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-networking+help@xxxxxxxxxxxx


--
To unsubscribe, e-mail: opensuse-networking+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-networking+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References