Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 19:44:36 -0700 (PDT)
From:      Daryl Chance <chancedj@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   2 public ip's on 2 nics (problem)
Message-ID:  <20020915024436.90793.qmail@web9607.mail.yahoo.com>

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

I've got a server I'm trying to bring up that has 2
nics in it.  I have 2 valid public ip's, so thats not
the issue.  the 2 nics are 2 seperate things.  one is
for dns and one is for mail (I know, I could just go
with 1, but I'm trying to get this working anyhow).

I'm using FreeBSD 4.6.2 pl2.  The nic's are:
3Com 3c905C-TX Fast Etherlink XL (xl0 - has current
ip)
Intel Pro 10/100B/100+ Ethernet (fxp0 - one i'm trying
to add ip to)

rc.conf looks like:
defaultrouter="65.221.xxx.xw"
hostname="mail.xxx.com"
#only working for xl atm.  working on it.
ifconfig_xl0="inet 65.221.xxx.xx  netmask
255.255.255.192"
ifconfig_fxp0="inet 65.221.xxx.xy  netmask
255.255.255.192"

I've tried switching the order, letting one boot then
adding the ip to the other nic....nothing.  same
error.

If I do an ifconfig fxp0 add 65.221.xxx.xy netmask
255.255.255.0, it adds it, but i can't ping it (more
then likely because of the netmask AND because it's an
alias?

adding it with 255.255.255.192 gives me:
ifconfig: ioctl (SIOCAIFADDR): File exists

Can anyone tell me what I'm doing wrong, or what I'm
assuming wrong?

I'd really like to get both of these nics up with a
public ip.

Thanks,
Daryl

=====
&lt;---------------------------------------------------------------&gt;<BR>&lt;- Daryl Chance&nbsp; - A programmer is someone who solves a &nbsp;&nbsp; -&gt;<BR>&lt;- Programmer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  - problem you didn't know you had in a -&gt;<BR>&lt;- ----------------- - way you don't understand. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;<BR>&lt;- Belial of -E- &nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - ????? &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;<BR>&lt;---------------------------------------------------------------&gt;

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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