basic routing problem

This is a discussion on basic routing problem within the Linux Networking forums, part of the Linux Forums category; Hello, Great :)! Everything is working now. Thank you. But could you tell me one more thing - in which file in ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 10-04-2006
mark
 
Posts: n/a
Default Re: basic routing problem

Hello,

Great :)! Everything is working now. Thank you. But could you tell me
one more thing - in which file in debian are stored these information
(i.e. ifconfig configuration and routing traces) so that I could just
write it to the files without adding everything from the beginning
every time.

Regards, mark

Reply With Quote
  #12 (permalink)  
Old 10-04-2006
Pascal Hambourg
 
Posts: n/a
Default Re: basic routing problem

Hello,

mark a écrit :
>
> Great :)! Everything is working now. Thank you. But could you tell me
> one more thing - in which file in debian are stored these information
> (i.e. ifconfig configuration and routing traces) so that I could just
> write it to the files without adding everything from the beginning
> every time.


Network interface configuration : /etc/network/interfaces
See 'man interfaces' and
http://www.fr.debian.org/doc/manuals...tml#s-net-high
Add custom routes : see the 'up' option.

Enable IP forwarding : /etc/network/options (deprecated soon)
or /etc/sysctl.conf (see 'man sysctl.conf')
or in an 'up' option in /etc/network/interface, but that's dirty.
Reply With Quote
  #13 (permalink)  
Old 10-15-2006
Jeroen Geilman
 
Posts: n/a
Default Re: basic routing problem

Floyd L. Davidson wrote:

> Two rules that you need to follow are:
>
> 1) All hosts on a *physical* network get IP addresses in
> the same subnet.


VLANs ?

We use 6 or 7 subnets, all of which are connected to one switched
backbone; routing is done via Layer 3 switching.

Granted, for simple setups this is a good rule to follow.

J
Reply With Quote
  #14 (permalink)  
Old 10-16-2006
mark
 
Posts: n/a
Default Re: basic routing problem

Hello,

This time I just want to build a ring (so that the messages goes in
one-way circle)
My net:

--> (10.0.3.2) Deb01 (10.0.1.1) --> (10.0.1.2) Deb02 (10.0.2.1) -->
(10.0.2.2) Deb03 (10.0.3.1) -->

How should I set routing so that if I ping from Deb01 to Deb03 then
echo request would go Deb01->Deb02->Deb03, but echo reply would go
Deb03->Deb01??

Would be grateful for help here.

Regards, mark

Reply With Quote
  #15 (permalink)  
Old 10-16-2006
Moe Trin
 
Posts: n/a
Default Re: basic routing problem

On 15 Oct 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<1160953660.140645.148510@i3g2000cwc.googlegroups. com>, mark wrote:

>This time I just want to build a ring (so that the messages goes in
>one-way circle)


Why? I honestly can't think of any reason why that would be helpful.

>--> (10.0.3.2) Deb01 (10.0.1.1) --> (10.0.1.2) Deb02 (10.0.2.1) -->
>(10.0.2.2) Deb03 (10.0.3.1) -->
>
>How should I set routing so that if I ping from Deb01 to Deb03 then
>echo request would go Deb01->Deb02->Deb03, but echo reply would go
>Deb03->Deb01??


man route look for the metric variable. Expect a lot of chances for
things to go quite wrong. Also expect lower performance.

Old guy
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0