[SLE] Pls help with routing setup
Hi all, Can anyone help me pls on what and how to setup this network: - 3 networks. Example: Net A: 192.168.10.0/24, B: 192.168.11.0/24, C: 192.168.12.0/24 We want all the PC in those network to be able to connect to each other from different network. - We want to use Linux as the router. - How many router do we need? - Can anyone give some example on the command to setup the routing? Thank you, -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 5:15pm up 7:49, 2.6.16.13-4-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On 7/18/06, Fajar Priyanto
Hi all, Can anyone help me pls on what and how to setup this network: - 3 networks. Example: Net A: 192.168.10.0/24, B: 192.168.11.0/24, C: 192.168.12.0/24
We want all the PC in those network to be able to connect to each other from different network.
- We want to use Linux as the router. - How many router do we need? - Can anyone give some example on the command to setup the routing?
Hi Fajar, you just need one router with 3 different interfaces. For the configuration I'd suggest to use Yast. Under "Network Devices / Network Card / Edit" you should be able to find and enter the Routing Configuration.
From that point on I cannot help much because I haven't tried it but you can follow the famous "trial&error" approach :)
Maybe the doc below would help you further: http://www.novell.com/coolsolutions/feature/16579.html Good luck, -mw -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
route add -net 192.168.10.0 netmask 255.255.255.0 dev eth0 and so on the only problem with this is that everytime you reboot your network service or reboot your machine your routing tables get's cleared out so Yast would be your friend here, just wanted to show how it really should be done without all that gui jazz :) Regards Per Qvindesland Mello wrote:
On 7/18/06, Fajar Priyanto
wrote: Hi all, Can anyone help me pls on what and how to setup this network: - 3 networks. Example: Net A: 192.168.10.0/24, B: 192.168.11.0/24, C: 192.168.12.0/24
We want all the PC in those network to be able to connect to each other from different network.
- We want to use Linux as the router. - How many router do we need? - Can anyone give some example on the command to setup the routing?
Hi Fajar, you just need one router with 3 different interfaces. For the configuration I'd suggest to use Yast. Under "Network Devices / Network Card / Edit" you should be able to find and enter the Routing Configuration.
From that point on I cannot help much because I haven't tried it but you can follow the famous "trial&error" approach :)
Maybe the doc below would help you further: http://www.novell.com/coolsolutions/feature/16579.html
Good luck, -mw
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Mello wrote:
On 7/18/06, Fajar Priyanto
wrote: Hi all, Can anyone help me pls on what and how to setup this network: - 3 networks. Example: Net A: 192.168.10.0/24, B: 192.168.11.0/24, C: 192.168.12.0/24
We want all the PC in those network to be able to connect to each other from different network.
- We want to use Linux as the router. - How many router do we need? - Can anyone give some example on the command to setup the routing?
Hi Fajar, you just need one router with 3 different interfaces.
You can also set up multiple IP addresses on a single interface, if desired. Search for 'IP alias'. Cheers, Dave
For the configuration I'd suggest to use Yast. Under "Network Devices / Network Card / Edit" you should be able to find and enter the Routing Configuration.
From that point on I cannot help much because I haven't tried it but you can follow the famous "trial&error" approach :)
Maybe the doc below would help you further: http://www.novell.com/coolsolutions/feature/16579.html
Good luck, -mw
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 2006-07-18 at 13:56 +0100, Dave Howorth wrote:
Mello wrote:
On 7/18/06, Fajar Priyanto
wrote: Hi all, Can anyone help me pls on what and how to setup this network: - 3 networks. Example: Net A: 192.168.10.0/24, B: 192.168.11.0/24, C: 192.168.12.0/24
We want all the PC in those network to be able to connect to each other from different network.
- We want to use Linux as the router. - How many router do we need? - Can anyone give some example on the command to setup the routing?
Hi Fajar, you just need one router with 3 different interfaces.
You can also set up multiple IP addresses on a single interface, if desired. Search for 'IP alias'.
Although you can setup multiple addresses on one interface you cannot _properly_ setup multiple _subnets_ on one interface. Routing becomes the issue. You are much better off using a separate card for each subnet. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Dave Howorth wrote:
Mello wrote:
On 7/18/06, Fajar Priyanto
wrote: Hi all, Can anyone help me pls on what and how to setup this network: - 3 networks. Example: Net A: 192.168.10.0/24, B: 192.168.11.0/24, C: 192.168.12.0/24
We want all the PC in those network to be able to connect to each other from different network.
- We want to use Linux as the router. - How many router do we need? - Can anyone give some example on the command to setup the routing?
Hi Fajar, you just need one router with 3 different interfaces.
You can also set up multiple IP addresses on a single interface, if desired. Search for 'IP alias'.
When you do that, you'll find the router sends the computers an ICMP redirect, which results in them communicating directly, instead of via the router. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (6)
-
Dave Howorth
-
Fajar Priyanto
-
James Knott
-
Ken Schneider
-
Mello
-
Per Qvindesland