Re: how to config FBSD pc to work on non-dhcp lan

2004-01-20 Thread Lance E. Lott
Where's your defaultrouter line???

Lance

At 02:27 PM 1/20/2004, you wrote:

Have FBSD gateway connected to internet with private Lan behind it.
Manually configured an MS/Windows on Lan.
Now trying to add FBSD PC to Lan.
Put ifconfig statement in rc.conf to assign PC it's Lan IP address.
Loaded resolv.conf  with IP address of ISP's DNS server.
Can ping gateway and Lan Windows box.
Gateway and Lan windows box has public access.
FBSD Lan PC can not ping Public Internet ip address or resolve
domain names.
Ping to public internet ip address get msg   sendto  no route to
host
10.0.10.0/29 is the Lan subnet. Gateway is 10.0.10.2. Windows box is
10.0.10.5.
The ifconfig display on both the gateway and FBSD lan box show the
correct
assigned IP address and broadcast ip address of 10.0.10.7 just like
what I expected.
What other config files need to be configured on the FBSD Lan PC to
get it
to communicate through the gateway to the public internet?
This is what I has so far on the FBSD Lan PC

rc.conf
clear_tmp_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
moused_flags="-m 2=3"
allscreens_flags="-m on -c blink -h 200"
saver="warp"
hostname="gateway.fbsdjones.com"
ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248"
resolv.conf
nameserver 68.168.240.2
The gateway's rc.conf has
ifconfig_dc0="inet 10.0.10.2  netmask 255.255.255.248"












___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to config FBSD pc to work on non-dhcp lan

2004-01-20 Thread Andrew L. Gould
On Tuesday 20 January 2004 02:27 pm, fbsd_user wrote:
> Have FBSD gateway connected to internet with private Lan behind it.
> Manually configured an MS/Windows on Lan.
> Now trying to add FBSD PC to Lan.
>
> Put ifconfig statement in rc.conf to assign PC it's Lan IP address.
> Loaded resolv.conf  with IP address of ISP's DNS server.
> Can ping gateway and Lan Windows box.
> Gateway and Lan windows box has public access.
> FBSD Lan PC can not ping Public Internet ip address or resolve
> domain names.
> Ping to public internet ip address get msg   sendto  no route to
> host
> 10.0.10.0/29 is the Lan subnet. Gateway is 10.0.10.2. Windows box is
> 10.0.10.5.
> The ifconfig display on both the gateway and FBSD lan box show the
> correct
> assigned IP address and broadcast ip address of 10.0.10.7 just like
> what I expected.
>
> What other config files need to be configured on the FBSD Lan PC to
> get it
> to communicate through the gateway to the public internet?
>
> This is what I has so far on the FBSD Lan PC
>
> rc.conf
> clear_tmp_enable="YES"
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_flags="-m 2=3"
>
> allscreens_flags="-m on -c blink -h 200"
> saver="warp"
> hostname="gateway.fbsdjones.com"
> ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248"
>
> resolv.conf
> nameserver 68.168.240.2
>
> The gateway's rc.conf has
> ifconfig_dc0="inet 10.0.10.2  netmask 255.255.255.248"

The new FreeBSD PC's /etc/rc.conf needs the following line:
defaultrouter="10.0.10.2"

Best of luck,

Andrew Gould

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to config FBSD pc to work on non-dhcp lan

2004-01-20 Thread Charles Swiger
On Jan 20, 2004, at 3:27 PM, fbsd_user wrote:
[ ... ]
FBSD Lan PC can not ping Public Internet ip address or resolve
domain names.  Ping to public internet ip address get msg
sendto no route to host
[ ... ]
rc.conf
clear_tmp_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
moused_flags="-m 2=3"
allscreens_flags="-m on -c blink -h 200"
saver="warp"
hostname="gateway.fbsdjones.com"
ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248"
/etc/rc.conf should have a statement like:

defaultrouter="10.0.10.2"

...or try adding a default route by hand, "route add default 10.0.10.2".

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to config FBSD pc to work on non-dhcp lan

2004-01-20 Thread James Earl
On Tue, 2004-01-20 at 13:27, fbsd_user wrote:
> Have FBSD gateway connected to internet with private Lan behind it.
> Manually configured an MS/Windows on Lan.
> Now trying to add FBSD PC to Lan.
> 
> Put ifconfig statement in rc.conf to assign PC it's Lan IP address.
> Loaded resolv.conf  with IP address of ISP's DNS server.
> Can ping gateway and Lan Windows box.
> Gateway and Lan windows box has public access.
> FBSD Lan PC can not ping Public Internet ip address or resolve
> domain names.
> Ping to public internet ip address get msg   sendto  no route to
> host
> 10.0.10.0/29 is the Lan subnet. Gateway is 10.0.10.2. Windows box is
> 10.0.10.5.
> The ifconfig display on both the gateway and FBSD lan box show the
> correct
> assigned IP address and broadcast ip address of 10.0.10.7 just like
> what I expected.
> 
> What other config files need to be configured on the FBSD Lan PC to
> get it
> to communicate through the gateway to the public internet?
> 
> This is what I has so far on the FBSD Lan PC
> 
> rc.conf
> clear_tmp_enable="YES"
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_flags="-m 2=3"
> 
> allscreens_flags="-m on -c blink -h 200"
> saver="warp"
> hostname="gateway.fbsdjones.com"
> ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248"
> 
> resolv.conf
> nameserver 68.168.240.2
> 
> The gateway's rc.conf has
> ifconfig_dc0="inet 10.0.10.2  netmask 255.255.255.248"

Looks like your missing:

defaultrouter=""

in your rc.conf


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how to config FBSD pc to work on non-dhcp lan

2004-01-20 Thread fbsd_user
Have FBSD gateway connected to internet with private Lan behind it.
Manually configured an MS/Windows on Lan.
Now trying to add FBSD PC to Lan.

Put ifconfig statement in rc.conf to assign PC it's Lan IP address.
Loaded resolv.conf  with IP address of ISP's DNS server.
Can ping gateway and Lan Windows box.
Gateway and Lan windows box has public access.
FBSD Lan PC can not ping Public Internet ip address or resolve
domain names.
Ping to public internet ip address get msg   sendto  no route to
host
10.0.10.0/29 is the Lan subnet. Gateway is 10.0.10.2. Windows box is
10.0.10.5.
The ifconfig display on both the gateway and FBSD lan box show the
correct
assigned IP address and broadcast ip address of 10.0.10.7 just like
what I expected.

What other config files need to be configured on the FBSD Lan PC to
get it
to communicate through the gateway to the public internet?

This is what I has so far on the FBSD Lan PC

rc.conf
clear_tmp_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
moused_flags="-m 2=3"

allscreens_flags="-m on -c blink -h 200"
saver="warp"
hostname="gateway.fbsdjones.com"
ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248"

resolv.conf
nameserver 68.168.240.2

The gateway's rc.conf has
ifconfig_dc0="inet 10.0.10.2  netmask 255.255.255.248"














___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"