[Fwd: Re: [opensuse-networking] openSUSE routing Q]
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 How did you connect this three computers together ? 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. 3 Computers connected with UTP should use at least a simple switch. If you did this you don't need any kind of routing. 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. 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 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. 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@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org
On Feb 12, 2008 8:18 PM, Hans defaber <hans.defaber@gmail.com> 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@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org
Mark Van De Vyver schreef:
On Feb 12, 2008 8:18 PM, Hans defaber <hans.defaber@gmail.com> 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@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org
Nice study project, 3 computers and 1 or 3 networks. First study the mechanism of IP , ARP RARP and so on. Then make a choice between bridging (1 network) and routing (3 networks). Have a lot of fun, Hans Then -- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org
participants (2)
-
Hans defaber
-
Mark Van De Vyver