Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 15:50:41 +1100
From:      Vitaminoid <vitaminoid@royal.net>
To:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   ifconfig problem
Message-ID:  <142188152729.20000728155041@royal.net>

next in thread | raw e-mail | index | archive | help
I've got the following newbie problem
There is a FreeBSD 4.0 box with two interfaces:
Dlink DFE530TX+
Realtek 8029

FreeBSD shows there are two interfaces - rl0 and ed0.. at first i
thought rl0 is Realtek, but it is vice versa..
I need to have these cards set to the following ip's:
Dlink - 10.0.1.105 (255.255.255.0)
Realtek - 132.124.12.10 (255.255.255.0)

the following commands:
ifconfig rl0 inet 10.0.1.105 netmask 255.255.255.0
and the same on ed0 make interfaces work right, pinging is ok for both

but when i make the same things in the rc.conf:

hostname="free.stm"
network_interfaces="lo0 rl0 ed0"
ifconfig_lo0="inet lo0 127.0.0.1"
ifconfig_rl0="inet rl0 10.0.1.105 -netmask 255.255.255.0"
ifconfig_ed0="inet ed0 132.124.12.10 -netmask 255.255.255.0"
defaultrouter="10.0.1.102"

it doesn't work..

and! when i get interfaces up manually, defaultrouter doesn't work..
what's wrong?

also i don't have /etc/resolv.conf.. should i make it manually?
  



      <MCP+Internet><MCSE>     ICQ:14043855           \Vitaminoid\
__________________________________________________________________
Get Your Private, Free Operational System at http://www.redhat.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?142188152729.20000728155041>