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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |