Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2004 15:23:07 +0100
From:      =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= <sten.daniel.sorsdal@wan.no>
To:        "DrumFire" <dpphln@tin.it>, <freebsd-net@freebsd.org>
Subject:   RE: ifconfig and route problem.
Message-ID:  <C52F34106949174F9D92F96C2411AAA90433A2@exchange.wanglobal.net>

next in thread | raw e-mail | index | archive | help

> # ifconfig rl0 $ip (where ip can be also 192.168.100.1), my=20
> default route is deleted, cut off server for my net.
>=20

Say you wanted to change from 192.168.100.1/24 to 10.0.0.1/24
With default gateway changed from 192.168.100.254 to 10.0.0.254

ifconfig rl0 inet 10.0.0.1/24 alias
route change default 10.0.0.254
ifconfig rl0 inet 192.168.100.1/24 -alias


_// Sten Daniel S=F8rsdal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C52F34106949174F9D92F96C2411AAA90433A2>