On Sun, Dec 22, 2002 at 09:05:08AM -0500, Grant Peel wrote:
>
> Here is the current setup:
>
> fxp0: flags=8843 mtu 1500
> inet 205.150.82.194 netmask 0xfff0 broadcast 205.150.82.207
> ether 00:b0:d0:f9:ca:e2
> media: Ethernet autoselect (100baseTX )
> status: active
> fxp1: flags=8843 mtu 1500
> inet 192.168.0.2 netmask 0xfc00 broadcast 192.168.3.255
> ether 00:02:b3:89:62:52
> media: Ethernet autoselect (100baseTX )
> status: active
> lo0: flags=8049 mtu 16384
> inet 127.0.0.1 netmask 0xff00
> ppp0: flags=8010 mtu 1500
> sl0: flags=c010 mtu 552
> faith0: flags=8000 mtu 1500
>
> What I need to do is:
>
> 1) Wipe the configurations for fxp0 and fxp1 completely.
You want the ifconfig_fxp0=... and ifconfig_fxp1=... lines in your
/etc/rc.conf file. Currently you probably have something like:
ifconfig_fxp0="inet 205.150.82.194 netmask 0xfff0 broadcast 205.150.82.207"
maybe with some additional options. All you should need to do is change
those lines to match the new values. Do this before you power everything
down in the old colo, then the machines should come up correctly configured
in the new location.
> 2) Add the new settings.
> Here are the details from the new provider:
> Network: 65.39.193.144
> Gateway: 65.39.193.145
> Subnet Mask: 255.255.255.240
> Useable IP Range: 65.39.193.152 - 154
>
> fxp0 will be plugged into a switch which in turn will be plugged into
> the providers switch.
> I am somewhat confised about the terms. I know the subnet and one of the
> available IPs need to be set, But I am wondering of the gateway is going to
> be my switch address? and what I am supposed to do with the 'network'
> IP?
The gateway address goes in your defaultrouter=... line in /etc/rc.conf.
This refers to the host on the 65.39.193.144 network that knows how to
route to other networks. Your switch may or may not have its own IP
address, but that's not relevant here.
You shouldn't need to use the network number anywhere
explicitly... ifconfig should be able to work it (and the broadcast
address) out from the netmask and host address you give it, i.e:
65.39.193.152 AND 255.255.255.240 = 65.39.193.144
So on your first machine, you probably want:
ifconfig_fxp0="inet 65.39.193.152 netmask 0xfff0"
ifconfig_fxp1="inet 192.168.0.2 netmask 0xfc00"
defaultrouter="65.39.139.145"
and so on for the other two.
> 3) CUrrently, I have two boxes that are connected to each other. (fxp1). I
> want to add a third box, and have the three of them LANd using 192.168.0.1,
> 2, 3. My question is, can I pluc the three of them into the same local
> switch as the internet connections (fxp0).
The switch probably won't care, but you might have ARP problems with that
kind of setup. I really not sure though... maybe someone else can
clarify what the problems might be?
Hope that helps,
Scott
--
===
Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England | 0x54B171B9 | don't get sucked into jet engines"
[EMAIL PROTECTED] | 0xAA775B8B | -- Anon
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message