On Sun, 2003-08-24 at 23:35, Rodolfo J. Paiz wrote:
> At 8/24/2003 19:48 -0700, you wrote:
> >Question, i have a server that i would like to use
> >two nics.  i have two ips that are on the same subnet
> >and they both have the same default route.
> >
> >how do i tell traffic that comes to one ip that is assigned
> >to eth0 to go back through eth0  and one ip that is assigned
> >to eth1 to go back trhoug eth1 when it goes back out to the
> >net ?
> 
> I'm no expert, but... AFAIK, you don't. AFAIK, you can't.
> 
> You can only have one default route, and that route points to one 
> interface. Most people try to have two Ethernet cards on the same subnet so 
> they can get double the bandwidth, but it simply does not work. If you want 
> double the bandwidth, bond the two interfaces or aggregate them so they act 
> like a single one. If you want to offer some services on one IP and other 
> services on the other IP, realize that you're going to have to find some 
> other way.

Yeah, it's called an alias.  You're right, you can't (AFAIK) have two
interfaces with the same default gateway.  If they want to bond the two
NICs, great.  But the only way (IIRC) to get multiple IPs working on the
same segment is to use aliases (which are easier anyway).

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to