Trouble with route

2003-09-25 Thread Antoine Fafard
I've just install a 4.8 box on my lan
But I can't access that box outside my network(a.b.c.0)
From that box, I'am able to ping the gateway but I cannot access the 
internet

my rc.conf :
defaultrouter=a.b.c.1
ifocnfig_xl0=inet a.b.c.4 netmask 255.255.255.0
hostname=backup.mylan.net
...
But when I check netstat -rn
I don't have any default gateway
netstat -rn | grep default
return empty.
ping a.b.c.1 is alright
but ping www.freebsd.org return ping: sendto: No route to host
I have compiled my kernel with IPFIREWALL
but my firewall type is OPEN so i'am not suppose to block anything.
when I type route get default I get: route: writing to routing socket: 
No such process

If anyone has an idea

Best regards

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


re: Trouble with route

2003-09-25 Thread charles pelletier
I hope this is a typo:
ifocnfig_xl0=inet a.b.c.4 netmask 255.255.255.0
if that is exactly what you've put in your /etc/rc.conf then there's your 
issue.
  ifocnfig  SHOULD BE ifconfig

Gateway YES

Can you paste your full rc.conf?

--charlie

_
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com

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


Re: Trouble with route

2003-09-25 Thread Antoine Fafard
sorry, that was a typo

my rc.conf  :

kern_securelevel_enable=NO
nfs_reserved_port_only=YES
sendmail_enable=YES
sshd_enable=YES
firewall_enable=YES
firewall_type=open
defaultrouter=a.b.c.1
ifconfig_xl0=inet a.b.c.4  netmask 255.255.255.0
hostname=backup.mydomain.net


charles pelletier wrote:

I hope this is a typo:

ifocnfig_xl0=inet a.b.c.4 netmask 255.255.255.0


if that is exactly what you've put in your /etc/rc.conf then there's 
your issue.
  ifocnfig  SHOULD BE ifconfig

Gateway YES

Can you paste your full rc.conf?

--charlie

_
Instant message with integrated webcam using MSN Messenger 6.0. Try it 
now FREE!  http://msnmessenger-download.com

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


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