Mailinglist Archive: opensuse-edu (146 mails)
| < Previous | Next > |
Re: [suse-linux-uk-schools] Masquerading
- From: Dave Williams <david@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 16 Jul 2000 07:07:12 +0000 (UTC)
- Message-id: <49dee0e61cdavid@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> > Well that sounds ideal but how do I perform aliasing?
> Depends on your system, probably, but on our FreeBSD it's by the use of
> ifconfig_<interface>_alias=" ... "
> entries in the rc.conf file: ours are for example:
> ifconfig_fxp0="inet 10.10.128.254 netmask 0xffff0000"
> ifconfig_fxp0_alias0="inet 194.238.175.254 netmask 0xffffffc0"
> ifconfig_fxp0_alias1="inet 10.0.128.254 netmask 0xffffff00"
> [beware, on our system extra spaces, eg either side of the =,
> will mess things up]
> and the result from an "ifconfig -a" command is
> fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> inet 10.10.128.254 netmask 0xffff0000 broadcast 10.10.255.255
> inet 194.238.175.254 netmask 0xffffffc0 broadcast 194.238.175.255
> inet 10.0.128.254 netmask 0xffffff00 broadcast 10.0.128.255
> atalk 1280.185 range 1280-1289 phase 2 broadcast 0.255
> ether 00:a0:c9:45:b9:14
> [the machine runs the appletalk daemon as well]
> and it's probably a good idea to set "gateway_enable" to YES as well.
Thanks Chris - I'm using SuSE - anyone know the equivalent commands to the
ones above? On the man page for ifconfig the only mention of alias
addressing refers to ipchains?
Dave
| < Previous | Next > |