Re: RE: Problems with providers

Jerry Vonau
Wed, 27 Jul 2005 18:03:06 -0000

>> Derek:
<snip>
>> Can you post the commands you were using?
>Unfortunately no, I was in a bit of a caffeine induced frenzy trying to
>get the system up again.  All I recall was that I had a stanza in
>/etc/network/interfaces to set up an interface with 63.211.45.132 and in
>the up section I had "ip addr 63.211.45.134/28 brd [broadcast] dev eth2
>in the Debian interfaces file.  That worked fine initially, however, I
>had to remove that to get dual providers to work.  After trying it and
>noticing that it failed, I restored the old configs and it stopped
>working.  I did flush the routing table and restarted a few times as
>well.

I believe that should be just 63.211.45.134  dev eth2

<snip>
>> From your earlier trace, looks like you''re adding network
routes for
>the
>> aliases
>> also, there should be only one network route and it should be with the
>> primary ip
>> address of that interface.
>I didn''t think I had added any extra routes, just an ip addr.

You don''t, but when you did the "ip addr 63.211.45.134/28
brd [broadcast] dev eth2", the /28 added/changed the route,
and it most likely changed the src in the routing table to .134
and not .132 which is the primary ip address. Need to see the
routing tables to tell.

>> >Anyway, I''m going to rework this from the ground up.
>> >-Derek
>>
>> Why not just let shorewall create the aliases for you?
>I was under the impression from
>http://www.shorewall.net/Shorewall_and_Aliased_Interfaces.html#id2452731
>That I needed to do this through either shorewall''s start script or
>through my own startup scripts.  How do you recommend I proceed?

Either way works fine, what alaises do you want/need and what are the used
in shorewall? I need to see the routing table, just to check, that is why I
asked
for the shorewall status before.

Jerry







-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click