Have a look at LARTC Howto.
Remember that linux kernel allows you to have multiple routing tables.
It is very simple to "mark" packets in a lot of criterias and then
select what routing table must use each packet based on the "mark".
It is called "packet mangling" and you can do this with iptables
On Friday 17 November 2006 22:58, srg krn wrote:
> ip default gateway is configured PER machine and NOT per interface.
> So, if you configure your default gateway is "A" all your traffic
> that does NOT match a more explicit route will go through "A".
>
> The question that you are asking for is ho
Do we have to configure routing when using aliases like this?
On Monday 13 November 2006 02:51, srg krn wrote:
> To assign more than one ip address per physical interface you can do
> things like:
> ifconfig eth0:1 192.168.169.170 255.255.255.0 up
> (the preceding ":1", ":2", etc... denotes "alias" interfaces)
> Better than ussing aliases is to connect the ro
On Monday 13 November 2006 01:11, Roberto C. Sanchez wrote:
> On Mon, Nov 13, 2006 at 12:53:28AM +0530, Amit Joshi wrote:
> > I am sort of stuck up. I need to put more than one IP address due to my
> > strange requirement. I am in a situation where there are multiple
> > gateways, and so I need mul
On Mon, Nov 13, 2006 at 10:39:34AM +0530, Amit Joshi wrote:
> Yes. I have read the howtos now. But there's one more question. What is
> this "Automatic Metric" (thats what I saw in Windows XP ..related to a
> Gateway).
The Network Administrators Guide 2nd Ed. is a good read. It is available
fro
* Amit Joshi <[EMAIL PROTECTED]> [061112 23:13]:
> Yes. I have read the howtos now. But there's one more question. What is
> this "Automatic Metric" (thats what I saw in Windows XP ..related to a
> Gateway).
>
> Also, how do I make sure that my main IP address will always be the default?
> I ju
On Monday 13 November 2006 02:09, Russell L. Harris wrote:
> * Amit Joshi <[EMAIL PROTECTED]> [061112 13:26]:
> > I am sort of stuck up. I need to put more than one IP address due to my
> > strange requirement. I am in a situation where there are multiple
> > gateways, and so I need multiple addres
To assign more than one ip address per physical interface you can do
things like:
ifconfig eth0:1 192.168.169.170 255.255.255.0 up
(the preceding ":1", ":2", etc... denotes "alias" interfaces)
Better than ussing aliases is to connect the routers to a vlan capable
switch and define a dotted 1q inte
* Amit Joshi <[EMAIL PROTECTED]> [061112 13:26]:
> I am sort of stuck up. I need to put more than one IP address due to my
> strange requirement. I am in a situation where there are multiple gateways,
> and so I need multiple addresses for the respective gateways.
...
> Is there a way to add mu
On Mon, Nov 13, 2006 at 12:53:28AM +0530, Amit Joshi wrote:
> I am sort of stuck up. I need to put more than one IP address due to my
> strange requirement. I am in a situation where there are multiple gateways,
> and so I need multiple addresses for the respective gateways.
>
> Windows provide
11 matches
Mail list logo