Re: Adding more than one IP Address

2006-11-19 Thread srg krn
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

Re: Adding more than one IP Address

2006-11-18 Thread Amit Joshi
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

Re: Adding more than one IP Address

2006-11-17 Thread Gunnar Björkdahl
Do we have to configure routing when using aliases like this?

Re: Adding more than one IP Address

2006-11-16 Thread Amit Joshi
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

Re: Adding more than one IP Address

2006-11-16 Thread Amit Joshi
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

Re: Adding more than one IP Address

2006-11-14 Thread Chris Bannister
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

Re: Adding more than one IP Address

2006-11-12 Thread Russell L. Harris
* 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

Re: Adding more than one IP Address

2006-11-12 Thread Amit Joshi
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

Re: Adding more than one IP Address

2006-11-12 Thread srg krn
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

Re: Adding more than one IP Address

2006-11-12 Thread Russell L. Harris
* 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

Re: Adding more than one IP Address

2006-11-12 Thread Roberto C. Sanchez
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