Network config on FreeBSD 5.1 - Help!
aussie gal
freebsder51 at yahoo.com
Thu Jun 3 20:00:46 GMT 2004
This is the set-up:
I have a High-Speed Internet connection. What you would call a DSL modem connection. I have the main modem connection hooked up to a 4-port hub. Two ports are connected to WinXP boxes and the third one is connected to my freebsd box into the ethernet port supplied by the Asus motherboard (it has a build-in RJ port). I have the other two XP boxes up and running but my freebsd box is (as you can see) struggling.
Longterm prospects:
1) After I can get freebsd networked, I would like to eventually install some security and then take over the world with a cluster of boxes designed by top secret software. <evil grin>
2) <grin> Just kidding. I want to set up a small network of computers running off of this freebsd server, a mail server, and a half decent web server with Perl/php/etc and maybe some other cook bells and whistles. But yes, I will probably want some security via a firewall at some point as well. Maybe sooner rather than later. But I first need to pick-up the networking fundementals
Btw, In the initial Sysinstall > Network configuation dialogs I specified that I did not want Ipv6 and that I wanted dchp.
For the "network configuration" screen i filled in the following:
Host: host.name.com
domain: name.com
ipv4 gateway: blank
Name server: this is my isp's dns server's ip address
and for the "Configuration for Interface vr0" dialog I write:
ipv4 address: Blank
Netmask: 255.255.255.0 <- I just changed this to 255.255.0.0 as per your suggestion
extra options: blank
I hope this helps. Any thoughts on how to help me find my IP address?
Thanks for your suggestion.
Regards,
Nav
zera holladay <zera_holladay at yahoo.com> wrote:
How do you connect (or want to connect) to your
network or to the internet? Do you have your own
private network and you connect through a gateway or
router, or do you have a DSL modem attached directly
to your ethernet card? You are not getting an IP
address and your netmask is for a very, very large
network. Networking is like cooking -- you have to
first decide what you want to cook with the
ingredients you have, then you have to get a recipe
and follow it.
-zh
--- aussie gal wrote:
> Yeah - I have read it.
>
> when I do the ifconfig i get:
> vr0: flags=8843> MULTICAST> mtu 1500
> inet6 fe80::20e:a6ff:..[hexidecimal ipv6
> address]%vr0 prefixlen 64 scopid 0x1
> inet 0.0.0.0 netmask 0xff0000000 broadcast
> 255.255.255.255
> ether 00:0e:a6:.. [hexidecimal ipv4 address]
> media: Ethernet autoselect (10baseT/UTP)
> status: active
>
> The one thing that I noticed was that the example on
> the website has all the addresses in
> non-hexcedecimal format and my output has them all
> in hex ipv6/4.
> Do I really need ipv6? If not, how do I get rid of
> it or does it matter?
>
> This poses a problem because I am suppose to include
> my IP address as per the example on the website:
>
> ifconfig_dc0="inet 192.168.1.3 netmask
> 255.255.255.0"
> ifconfig_dc1="inet 10.0.0.1 netmask 255.255.255.0
> media 10baseT/UTP"
>
> BUT these addresses are not in hexidecimal whereas
> my inet #s are.
>
> Any ideas what is going on here?
>
> Btw, my rc.conf file includes the following:
>
> font8x14 ="NO"
> font8X16 = "NO"
> gateway_enable="YES"
> inetd_enable="YES"
> linux_enable="YES"
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> nfs_client_enable="YES"
> nfs_server_enable="YES"
> rpcbind_enable="YES"
> saver="rain"
>
> scrnmap="NO"
> usbd_enable="YES"
> sendmail_enable="YES"
> #ifconfig_vr0="inet6 hex address netmask
> 255.255.255.0"
> #ipv6_enable="NO"
> hostname= "..."
> ppp_enable="YES"
> ppp_mode="ddial"
> ppp_nat="YES"
> ppp_profile="bellnet.ca"
> sendmail_enable="YES"
> gateway_enable="YES"
> rpc_statd_enable="YES"
> tcp_extensions="YES"
> hostname="..."
> ifconfig_vr0="DHCP"
>
>
> Thanks!
> fb51
>
>
> zera holladay wrote:
> Have you read this yet?
>
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html
>
> -zh
>
> --- aussie gal wrote:
> > Hi - I'm trying to configure my network card on a
> > newly installed freebsd 5.1.
> > BUT - I can get the system to come on line. It
> > recoginizes the hardware as being UP ...
> >
> > I've been hitting several TCP/IP how-tos on the
> web
> > and doing lots of reading and tweaking to no
> avail.
> >
> > Please advise. Does anyone have experience with
> > 5.1?
> >
> > Regards,
> >
> > fb51
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Friends. Fun. Try the all-new Yahoo! Messenger
> > _______________________________________________
> > freebsd-hackers at freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
>
> ---------------------------------
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
"freebsd-hackers-unsubscribe at freebsd.org"
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
More information about the freebsd-hackers
mailing list