[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routing help



On Tuesday 27 January 2004 11:57, Demian Wandelow wrote:

> On Mon, Jan 26, 2004 at 12:59:03PM +0800, Jason Lim wrote:
> > I believe there is a way to force a refresh or such of the ARP cache. Not
> > sure how... but it can be done somehow. I'd be interested to learn the
> > method under Linux as well, so if you find out, share it with the group
>
> 	ip route flush cache

No that flushes the routing cache, not the arp cache.  With the ip command 
you'd flush the arp cache with "ip neigh flush all", you can also cycle 
through all arp entries and delete them with "arp -d address"

Original poster's question (sorry lost original mail) ...

On Mon, 26 Jan 2004 14:02:21 +1100 Lauchlin wrote:

> If I simply do "ifconfig eth0:1 203.221.41.12 netmask 255.255.255.224
> broadcast 203.221.41.3" I can ping the IP address from the machine that is
> on the same switch (e.g. from 203.221.41.1) but I can not ping or trace to
> the ip aliased interface. I have searched around on google but can't seem to
> find what I am doing wrong!
 
Is the router at 203.220.47.153 aware of the 203.221.41.0/27 network?  If the 
router doesn't know about the local 203.221.41.0/27 network it will assume 
that the network is not local and try to reach it through the Internet.

-- 
Fraser Campbell <fraser@wehave.net>                 http://www.wehave.net/
Georgetown, Ontario, Canada                         Debian GNU/Linux



Reply to: