can't ping localhost

2010-08-19 Thread Tim Kellers
I first noticed the problem when the machine stopped sending local mail; 
a typical entry:


Aug 19 10:08:30 online sm-msp-queue[68533]: o7IKAhth008649: 
to=timot...@xxx.njit.edu, ctladdr=timothyk (1001/1001), delay=17:57:47, 
xdelay=00:00:00, mailer=relay, pri=3360050, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: Can't assign requested address


Non-local mail still works:

Aug 19 10:14:11 online sm-mta[68582]: o7JEEB8I068582: 
from=kell...@njit.edu, size=593, class=0, nrcpts=1, 
msgid=4c6d3c2e.1060...@njit.edu, proto=ESMTP, daemon=IPv4, 
relay=mail-xxx.njit.edu [128.235.251.157]
Aug 19 10:14:11 online sm-mta[68584]: o7JEEB8I068582: 
to=timot...@xxx.njit.edu, delay=00:00:00, xdelay=00:00:00, 
mailer=local, pri=30840, relay=local, dsn=2.0.0, stat=Sent


When I ping localhost:
# ping localhost
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address

# uname -a
FreeBSD xxx.njit.edu 7.3-STABLE FreeBSD 7.3-STABLE #0: Tue Mar 30 
14:35:56 EDT 2010 
timot...@xxx.njit.edu:/usr/obj/usr/src/sys/MARCH31  i386




/etc/hosts, /etc/hosts.conf, /etc/resolv.conf all look fine.  I diffed 
them with another working 7.3-STABLE machine I have.


I have built world and kernel to yesterday's 7.3-STABLE, but I haven't 
rebooted the machine.  I'm thinking that if this is a hardware problem, 
once it goes down for a reboot, it may not come back up.


I'm eagerly open to suggestions.


Tim Kellers
NJIT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-08-19 Thread Glen Barber
On 8/19/10 10:21 AM, Tim Kellers wrote:
 When I ping localhost:
 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: sendto: Can't assign requested address

Hi,

Is the loopback interface (lo0) up?

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-08-19 Thread Matthew Seaman
On 19/08/2010 15:21, Tim Kellers wrote:
 I'm eagerly open to suggestions.
 

What does 'ifconfig lo0' say?

What does 'sockstat | grep :25' say?

What does 'ls -la /usr/libexec/sendmail/' say?

What does 'mount | grep /usr' say?

It sounds as if either:

   * Your loopback interface has lost address 127.0.0.1

or:

   * Some process other than a live sendmail instance has bound to port
 25 on the loopback.

or:

   * sendmail has somehow lost its setgid-ness

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: can't ping localhost

2010-08-19 Thread Tim Kellers

On 08/19/10 10:55, Glen Barber wrote:

On 8/19/10 10:21 AM, Tim Kellers wrote:
   

When I ping localhost:
# ping localhost
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
 

Hi,

Is the loopback interface (lo0) up?

Regards,

   


lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128

Nope, it is not.  And I don't know how that can happen.


Thanks

Tim Kellers

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-08-19 Thread Tim Kellers

On 08/19/10 11:02, Matthew Seaman wrote:

On 19/08/2010 15:21, Tim Kellers wrote:
   

I'm eagerly open to suggestions.

 

What does 'ifconfig lo0' say?

What does 'sockstat | grep :25' say?

What does 'ls -la /usr/libexec/sendmail/' say?

What does 'mount | grep /usr' say?

It sounds as if either:

* Your loopback interface has lost address 127.0.0.1

or:

* Some process other than a live sendmail instance has bound to port
  25 on the loopback.

or:

* sendmail has somehow lost its setgid-ness

Cheers,

Matthew

   

# ifconfig lo0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128

(lo0 looks unconfigured to me)

# sockstat | grep :25
root sendmail   7371  3  tcp4   *:25  *:*
root sendmail   7371  5  tcp6   *:25  *:*

(that looks fine to me)

# ls -la /usr/libexec/sendmail/
total 676
drwxr-xr-x  2 root  wheel 512 Mar 30 21:03 .
drwxr-xr-x  5 root  wheel1536 Mar 30 21:03 ..
-r-xr-sr-x  1 root  smmsp  669788 Mar 30 21:03 sendmail

(looks OK to me, too)

# mount | grep /usr
/dev/aacd0s1f on /usr (ufs, local, soft-updates)

(Looks normal to me, too)

Thanks

Tim Kellers


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-08-19 Thread Tim Kellers

On 08/19/10 11:51, mikel king wrote:

Your lo0 only has inet6 addresses, perhaps try binding a v4 address?

Cheers,
m!

On Aug 19, 2010, at 11:12, Tim Kellerskell...@njit.edu  wrote:

   

On 08/19/10 11:02, Matthew Seaman wrote:
 

On 19/08/2010 15:21, Tim Kellers wrote:

   

I'm eagerly open to suggestions.


 

What does 'ifconfig lo0' say?

What does 'sockstat | grep :25' say?

What does 'ls -la /usr/libexec/sendmail/' say?

What does 'mount | grep /usr' say?

It sounds as if either:

* Your loopback interface has lost address 127.0.0.1

or:

* Some process other than a live sendmail instance has bound to port
  25 on the loopback.

or:

* sendmail has somehow lost its setgid-ness

Cheers,

Matthew


   

# ifconfig lo0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST  metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128

(lo0 looks unconfigured to me)

# sockstat | grep :25
root sendmail   7371  3  tcp4   *:25  *:*
root sendmail   7371  5  tcp6   *:25  *:*

(that looks fine to me)

# ls -la /usr/libexec/sendmail/
total 676
drwxr-xr-x  2 root  wheel 512 Mar 30 21:03 .
drwxr-xr-x  5 root  wheel1536 Mar 30 21:03 ..
-r-xr-sr-x  1 root  smmsp  669788 Mar 30 21:03 sendmail

(looks OK to me, too)

# mount | grep /usr
/dev/aacd0s1f on /usr (ufs, local, soft-updates)

(Looks normal to me, too)

Thanks

Tim Kellers


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



   

Thanks,

Once I saw that lo0 was not configured for ipv4, I did a:

#ifconfig lo0 inet 127.0.0.1 netmask 255.0.0.0

and local mail resolved and was delivered and I can now ping localhost.

I just have to wonder how in heck it got that way.

Thanks all

Tim Kellers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-08-19 Thread mikel king
Your lo0 only has inet6 addresses, perhaps try binding a v4 address?

Cheers,
m!

On Aug 19, 2010, at 11:12, Tim Kellers kell...@njit.edu wrote:

 On 08/19/10 11:02, Matthew Seaman wrote:
 On 19/08/2010 15:21, Tim Kellers wrote:
   
 I'm eagerly open to suggestions.
 
 
 What does 'ifconfig lo0' say?
 
 What does 'sockstat | grep :25' say?
 
 What does 'ls -la /usr/libexec/sendmail/' say?
 
 What does 'mount | grep /usr' say?
 
 It sounds as if either:
 
* Your loopback interface has lost address 127.0.0.1
 
 or:
 
* Some process other than a live sendmail instance has bound to port
  25 on the loopback.
 
 or:
 
* sendmail has somehow lost its setgid-ness
 
Cheers,
 
Matthew
 
   
 # ifconfig lo0
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
 
 (lo0 looks unconfigured to me)
 
 # sockstat | grep :25
 root sendmail   7371  3  tcp4   *:25  *:*
 root sendmail   7371  5  tcp6   *:25  *:*
 
 (that looks fine to me)
 
 # ls -la /usr/libexec/sendmail/
 total 676
 drwxr-xr-x  2 root  wheel 512 Mar 30 21:03 .
 drwxr-xr-x  5 root  wheel1536 Mar 30 21:03 ..
 -r-xr-sr-x  1 root  smmsp  669788 Mar 30 21:03 sendmail
 
 (looks OK to me, too)
 
 # mount | grep /usr
 /dev/aacd0s1f on /usr (ufs, local, soft-updates)
 
 (Looks normal to me, too)
 
 Thanks
 
 Tim Kellers
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-11 Thread Ruben de Groot
On Thu, Mar 11, 2010 at 02:47:35AM +, Anton Shterenlikht typed:
 
  I believe -current has a issue where you can not ping localhost atm
  
 
 all my machines are current, but some are more current than others..

Why exactly are you running -current? People that do are supposed to do some 
investigations
themselves, and if they still can't find the cause at least provide information 
like 
(in this case) routing info, ifconfig etc and what they have done to 
investigate,

 Well, the ping issue is just an example.
 My real problem is that sendmail can't send
 anything locally:

The real problem is the routing got busted by a bad commit. This affects both 
ping and sendmail
(and many others).

I recommend you run a -stable branch.

Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-11 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Wed Mar 10 20:24:31 2010
 Date: Thu, 11 Mar 2010 02:23:44 +
 From: Anton Shterenlikht me...@bristol.ac.uk
 To: freebsd-questions@freebsd.org
 Subject: can't ping localhost

 I misconfigured my system somehow,
 so now I can't ping localhost:

 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: sendto: No route to host
 ping: sendto: No route to host
 ^C

 # cat /etc/hosts
 # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
 #
 ::1 localhost localhost.men.bris.ac.uk
 127.0.0.1   localhost localhost.men.bris.ac.uk

 So far, can't find anything relevant
 on the net.

 Please advise

what does 'ifconfig -a', and 'netstat -nr' show?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


can't ping localhost

2010-03-10 Thread Anton Shterenlikht
I misconfigured my system somehow,
so now I can't ping localhost:

# ping localhost
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^C

# cat /etc/hosts
# $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
#
::1 localhost localhost.men.bris.ac.uk
127.0.0.1   localhost localhost.men.bris.ac.uk

So far, can't find anything relevant
on the net.

Please advise

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Roger
On Wed, Mar 10, 2010 at 9:23 PM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I misconfigured my system somehow,
 so now I can't ping localhost:

 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: sendto: No route to host
 ping: sendto: No route to host
 ^C

 # cat /etc/hosts
 # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
 #
 ::1                     localhost localhost.men.bris.ac.uk
 127.0.0.1               localhost localhost.men.bris.ac.uk

 So far, can't find anything relevant
 on the net.

 Please advise

 many thanks
 anton

 --


Just a shot in the dark. Do you have a default route?

-r
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Sam Fourman Jr.
On Wed, Mar 10, 2010 at 8:23 PM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I misconfigured my system somehow,
 so now I can't ping localhost:

 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: sendto: No route to host
 ping: sendto: No route to host
 ^C

what is the output of uname -a ?

I believe -current has a issue where you can not ping localhost atm


Sam Fourman Jr.
Fourman Networks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Roger
On Wed, Mar 10, 2010 at 9:23 PM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I misconfigured my system somehow,
 so now I can't ping localhost:

 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: sendto: No route to host
 ping: sendto: No route to host
 ^C

 # cat /etc/hosts
 # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
 #
 ::1                     localhost localhost.men.bris.ac.uk
 127.0.0.1               localhost localhost.men.bris.ac.uk

 So far, can't find anything relevant
 on the net.

 Please advise

 many thanks
 anton

http://www.freebsd.org/doc/handbook/network-routing.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Anton Shterenlikht
On Wed, Mar 10, 2010 at 08:34:08PM -0600, Sam Fourman Jr. wrote:
 On Wed, Mar 10, 2010 at 8:23 PM, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
  I misconfigured my system somehow,
  so now I can't ping localhost:
 
  # ping localhost
  PING localhost (127.0.0.1): 56 data bytes
  ping: sendto: No route to host
  ping: sendto: No route to host
  ^C
 
 what is the output of uname -a ?

# uname -a
FreeBSD mech-anton240.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Tue 
Mar  9 14:35:40 GMT 2010 
me...@mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF  sparc64


 I believe -current has a issue where you can not ping localhost atm
 

all my machines are current, but some are more current than others..

Well, the ping issue is just an example.
My real problem is that sendmail can't send
anything locally:

# tail /var/log/maillog
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: to=mexas, 
ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, mailer=relay, 
pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route 
to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0hbGe029358: to=mexas, 
ctladdr=mexas (1001/1001), delay=01:33:21, xdelay=00:00:00, mailer=relay, 
pri=570028, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route 
to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4K005078: to=root, 
delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3721559, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4L005078: to=root, 
delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3725184, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4L004977: to=root, 
delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903061, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4K004977: to=root, 
delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903122, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3bvPl004242: to=root, 
ctladdr=root (0/0), delay=22:39:01, xdelay=00:00:00, mailer=relay, pri=4530195, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3c9wG004609: to=root, 
ctladdr=root (0/0), delay=22:38:49, xdelay=00:00:00, mailer=relay, pri=4533820, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A340iF002543: to=root, 
ctladdr=root (0/0), delay=23:12:58, xdelay=00:00:00, mailer=relay, pri=4711758, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A33vXB002495: to=root, 
ctladdr=root (0/0), delay=23:13:01, xdelay=00:00:00, mailer=relay, pri=4801697, 
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
# 


many thanks
anton

 
 Sam Fourman Jr.
 Fourman Networks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Rob Farmer
On Wed, Mar 10, 2010 at 6:34 PM, Sam Fourman Jr. sfour...@gmail.com wrote:
 On Wed, Mar 10, 2010 at 8:23 PM, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
 I misconfigured my system somehow,
 so now I can't ping localhost:

 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: sendto: No route to host
 ping: sendto: No route to host
 ^C

 what is the output of uname -a ?

 I believe -current has a issue where you can not ping localhost atm

That's correct. Try the following patch:
http://people.freebsd.org/~qingli/route.h.diff

-- 
Rob Farmer



 Sam Fourman Jr.
 Fourman Networks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Adam Vande More
On Wed, Mar 10, 2010 at 8:47 PM, Anton Shterenlikht me...@bristol.ac.ukwrote:

 # uname -a
 FreeBSD mech-anton240.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #2:
 Tue Mar  9 14:35:40 GMT 2010 
 me...@mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF
  sparc64


  I believe -current has a issue where you can not ping localhost atm
 

 all my machines are current, but some are more current than others..

 Well, the ping issue is just an example.
 My real problem is that sendmail can't send
 anything locally:

 # tail /var/log/maillog
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426:
 to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00,
 mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred:
 [127.0.0.1]: No route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0hbGe029358:
 to=mexas, ctladdr=mexas (1001/1001), delay=01:33:21, xdelay=00:00:00,
 mailer=relay, pri=570028, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred:
 [127.0.0.1]: No route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4K005078: to=root,
 delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3721559,
 relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4L005078: to=root,
 delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3725184,
 relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4L004977: to=root,
 delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903061,
 relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4K004977: to=root,
 delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903122,
 relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3bvPl004242: to=root,
 ctladdr=root (0/0), delay=22:39:01, xdelay=00:00:00, mailer=relay,
 pri=4530195, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
 route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3c9wG004609: to=root,
 ctladdr=root (0/0), delay=22:38:49, xdelay=00:00:00, mailer=relay,
 pri=4533820, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
 route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A340iF002543: to=root,
 ctladdr=root (0/0), delay=23:12:58, xdelay=00:00:00, mailer=relay,
 pri=4711758, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
 route to host
 Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A33vXB002495: to=root,
 ctladdr=root (0/0), delay=23:13:01, xdelay=00:00:00, mailer=relay,
 pri=4801697, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
 route to host
 #


 many thanks
 anton

 --
 Anton Shterenlikht


If you run CURRENT, you would do well to follow the mailing list.

http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/2ab13c4b31228c88/15dab18a9066e9a2?lnk=raot


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Jon Radel



Well, the ping issue is just an example.
My real problem is that sendmail can't send
anything locally:

# tail /var/log/maillog
Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: to=mexas, 
ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, mailer=relay, 
pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route 
to host


Well, have you considered looking to see if it's right?  What do you get 
in response to:


$ netstat -rn | grep 127
127.0.0.1  127.0.0.1  UH  064746lo0
$

Showing what I get on a 7.0 server.

Unless they've moved things around since 7.0, you probably want to make 
sure that you've not messed with the ifconfig_lo0 line in 
/etc/defaults/rc.conf.


My apologies if that config stuff has changed in the latest; I don't 
have access to the latest right now.


--

--Jon Radel
j...@radel.com



Re: can't ping localhost

2010-03-10 Thread Anton Shterenlikht
On Wed, Mar 10, 2010 at 10:00:01PM -0500, Jon Radel wrote:
 
  Well, the ping issue is just an example.
  My real problem is that sendmail can't send
  anything locally:
 
  # tail /var/log/maillog
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426: 
  to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00, 
  mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 
  [127.0.0.1]: No route to host
 
 Well, have you considered looking to see if it's right?  What do you get 
 in response to:
 
 $ netstat -rn | grep 127
 127.0.0.1  127.0.0.1  UH  064746lo0
 $
 
 Showing what I get on a 7.0 server.
 
 Unless they've moved things around since 7.0, you probably want to make 
 sure that you've not messed with the ifconfig_lo0 line in 
 /etc/defaults/rc.conf.
 
 My apologies if that config stuff has changed in the latest; I don't 
 have access to the latest right now.

# netstat -rn|grep 127
127.0.0.1  link#2 UH  00lo0


thank you
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't ping localhost

2010-03-10 Thread Anton Shterenlikht
On Wed, Mar 10, 2010 at 08:58:12PM -0600, Adam Vande More wrote:
 On Wed, Mar 10, 2010 at 8:47 PM, Anton Shterenlikht 
 me...@bristol.ac.ukwrote:
 
  # uname -a
  FreeBSD mech-anton240.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #2:
  Tue Mar  9 14:35:40 GMT 2010 
  me...@mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF
   sparc64
 
 
   I believe -current has a issue where you can not ping localhost atm
  
 
  all my machines are current, but some are more current than others..
 
  Well, the ping issue is just an example.
  My real problem is that sendmail can't send
  anything locally:
 
  # tail /var/log/maillog
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0irgd029426:
  to=mexas, ctladdr=mexas (1001/1001), delay=01:32:05, xdelay=00:00:00,
  mailer=relay, pri=480031, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred:
  [127.0.0.1]: No route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2B0hbGe029358:
  to=mexas, ctladdr=mexas (1001/1001), delay=01:33:21, xdelay=00:00:00,
  mailer=relay, pri=570028, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred:
  [127.0.0.1]: No route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4K005078: to=root,
  delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3721559,
  relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A87g4L005078: to=root,
  delay=18:09:16, xdelay=00:00:00, mailer=relay, pri=3725184,
  relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4L004977: to=root,
  delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903061,
  relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A77d4K004977: to=root,
  delay=19:09:19, xdelay=00:00:00, mailer=relay, pri=3903122,
  relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3bvPl004242: to=root,
  ctladdr=root (0/0), delay=22:39:01, xdelay=00:00:00, mailer=relay,
  pri=4530195, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
  route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A3c9wG004609: to=root,
  ctladdr=root (0/0), delay=22:38:49, xdelay=00:00:00, mailer=relay,
  pri=4533820, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
  route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A340iF002543: to=root,
  ctladdr=root (0/0), delay=23:12:58, xdelay=00:00:00, mailer=relay,
  pri=4711758, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
  route to host
  Mar 11 02:16:58 mech-anton240 sm-msp-queue[32611]: o2A33vXB002495: to=root,
  ctladdr=root (0/0), delay=23:13:01, xdelay=00:00:00, mailer=relay,
  pri=4801697, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: [127.0.0.1]: No
  route to host
  #
 
 
  many thanks
  anton
 
  --
  Anton Shterenlikht
 
 
 If you run CURRENT, you would do well to follow the mailing list.
 
 http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/2ab13c4b31228c88/15dab18a9066e9a2?lnk=raot

yes, I've seen this.

It's just that usually when I get problems I suspect my incompetence,
so this thread didn't come to mind.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't ping

2008-07-23 Thread Tim Judd

Rem P Roberti wrote:

Can someone tell what is going on here.  All of a sudden I can't ping.
When I try a get this message:

ping: sendto: Permission denied

All internet functions seem to be working fine...just can't ping.

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

pinging from a jail?  check your sysctls.  raw ips something or other.

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


Can't ping

2008-07-20 Thread Rem P Roberti
Can someone tell what is going on here.  All of a sudden I can't ping.
When I try a get this message:

ping: sendto: Permission denied

All internet functions seem to be working fine...just can't ping.

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


Re: Can't ping

2008-07-20 Thread Wojciech Puchar

check your firewall rules


On Sun, 20 Jul 2008, Rem P Roberti wrote:


Can someone tell what is going on here.  All of a sudden I can't ping.
When I try a get this message:

ping: sendto: Permission denied

All internet functions seem to be working fine...just can't ping.

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



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


Re: Can't ping

2008-07-20 Thread आशीष शुक्ल Ashish Shukla

In [EMAIL PROTECTED], Rem P Roberti wrote:

Can someone tell what is going on here.  All of a sudden I can't ping.
When I try a get this message:

ping: sendto: Permission denied

All internet functions seem to be working fine...just can't ping.


Firewall blocking ICMP protocol.

HTH
--
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpXtPJZCsrCW.pgp
Description: PGP signature


Re: Can't ping

2008-07-20 Thread Sahil Tandon
Rem P Roberti [EMAIL PROTECTED] wrote:
   
[...]

 ping: sendto: Permission denied

Did you (or another admin) change firewall rules?  Also, please do a simple 
google or list archive search before posting to the list.  Searching for the 
error you paste above results in several links that might've helped you 
troubleshoot this problem.

[...]

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


Re: Can't ping

2008-07-20 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wojciech Puchar wrote:
 check your firewall rules
 
 
 On Sun, 20 Jul 2008, Rem P Roberti wrote:
 
 Can someone tell what is going on here.  All of a sudden I can't ping.
 When I try a get this message:

 ping: sendto: Permission denied

 All internet functions seem to be working fine...just can't ping.

You folks are all probably dead on, exactly right, but I recall once, about 18
months ago, that my permissions on one machine went haywire, and it lost the
setuid bit in the permissions.  On some machines, this'd sure enough hurt
things.   Maybe this here (below) could help?

TCSH-april:chuck:~:#103-15:18ls -l `which ping`
- -r-sr-xr-x  1 root  wheel  23868 Jun 15 21:09 /sbin/ping*

If those good suggestions regarding the firewall turn out not to work, maybe
this could be experimented with?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiDzjEACgkQz62J6PPcoOmSAgCfTcM1RMXpEu3jKL3Nrov2zY4F
neIAn0YLUss8E1joGGXQvgW2+MivEXKn
=C+x+
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't ping

2008-07-17 Thread Robert Huff

After upgrading a -CURRENT box from the April 19 version to one
from yesterday, ping on that box seems to be broken.  (I noticed the
behavior today; I don't know whether it's directly related to the
upgrade or not.)
Specifically:

huff@ netstat -rn -f inet
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default209.6.22.1 UGS 0  1917213em0
10.0.0.0/8 link#2 UC  00em1
10.0.0.1   00:0e:0c:a8:a7:e9  UHLW138374lo0
10.255.255.255 ff:ff:ff:ff:ff:ff  UHLWb   1  267em1
127.0.0.1  127.0.0.1  UH  0   272685lo0
209.6.22.0/23  link#1 UC  00em0
209.6.22.1 00:0d:66:25:50:01  UHLW2   25em0   1196
209.6.22.188   00:0e:0c:a8:a7:e8  UHLW16lo0
209.6.23.255   ff:ff:ff:ff:ff:ff  UHLWb   1  267em0

huff@ ping 209.6.22.188
PING 209.6.22.188 (209.6.22.188): 56 data bytes
64 bytes from 209.6.22.188: icmp_seq=0 ttl=64 time=0.075 ms
64 bytes from 209.6.22.188: icmp_seq=1 ttl=64 time=0.093 ms
64 bytes from 209.6.22.188: icmp_seq=2 ttl=64 time=0.086 ms
64 bytes from 209.6.22.188: icmp_seq=3 ttl=64 time=0.078 ms
64 bytes from 209.6.22.188: icmp_seq=4 ttl=64 time=0.090 ms

huff@ ping 209.6.22.1
PING 209.6.22.1 (209.6.22.1): 56 data bytes
^C
--- 209.6.22.1 ping statistics ---
10 packets transmitted, 0 packets received, 100.0% packet loss

I have a firewall; rules are appended.
The wierd part is other connectivity works: I can ftp,
web-surf, telnet, etc..
Any ideas on what's broken?


Robert Huff


00100  630662  280315972 allow ip from any to any via lo0
00200   0  0 deny ip from any to 127.0.0.0/8
00300   0  0 deny ip from 127.0.0.0/8 to any
00350   117805065589 allow udp from any 67-68 to any dst-port 67-68
00600   0  0 allow ip6 from any to any via lo0
00610   0  0 deny ip6 from any to ::1
00620   0  0 deny ip6 from ::1 to any
00630  36   2304 allow ip6 from :: to ff02::/16 proto ipv6-icmp
00640   0  0 allow ip6 from fe80::/10 to fe80::/10 proto ipv6-icmp
00650  47   3384 allow ip6 from fe80::/10 to ff02::/16 proto ipv6-icmp
00660   0  0 allow ip6 from 2001:db8:2:1::1 to 2001:db8:2:1::/64
00670   0  0 allow ip6 from 2001:db8:2:1::/64 to 2001:db8:2:1::1
00680   0  0 allow ip6 from fe80::/10 to ff02::/16
00690   0  0 allow ip6 from 2001:db8:2:1::/64 to ff02::/16
00700   0  0 allow ip6 from any to any established proto tcp
00710   0  0 allow ip6 from any to any frag
00720   0  0 allow ip6 from any to 2001:db8:2:1::1 dst-port 25 
setup proto tcp
00730   0  0 allow ip6 from 2001:db8:2:1::1 to any setup proto tcp
00740   4320 deny ip6 from any to any setup proto tcp
00750   0  0 allow ip6 from any 53 to 2001:db8:2:1::1 proto udp
00760   0  0 allow ip6 from 2001:db8:2:1::1 to any dst-port 53 
proto udp
00770   0  0 allow ip6 from any 123 to 2001:db8:2:1::1 proto udp
00780   0  0 allow ip6 from 2001:db8:2:1::1 to any dst-port 123 
proto udp
00790   0  0 allow ip6 from any to any ip6 icmp6types 1 proto 
ipv6-icmp
008001415  90560 allow ip6 from any to any ip6 icmp6types 2,135,136 
proto ipv6-icmp
06000   0  0 deny log logamount 100 tcp from any to any dst-port 
137 in via em0
06050  32   3000 deny log logamount 100 udp from any to any dst-port 
137 in via em0
06100   0  0 deny log logamount 100 tcp from any to any dst-port 
138 in via em0
06150 235  56158 deny log logamount 100 udp from any to any dst-port 
138 in via em0
06200   0  0 deny log logamount 100 tcp from any to any dst-port 
139 in via em0
06250   0  0 deny log logamount 100 udp from any to any dst-port 
139 in via em0
07000   0  0 deny log logamount 100 tcp from any to any dst-port 
111 in via em0
07050   0  0 deny log logamount 100 udp from any to any dst-port 
111 in via em0
07100   0  0 deny log logamount 100 tcp from any to any dst-port 
530 in via em0
07150   0  0 deny log logamount 100 udp from any to any dst-port 
530 in via em0
07200   0  0 deny log logamount 100 tcp from any to any dst-port 
161 in recv em0
07225   0  0 deny log logamount 100 udp from any to any dst-port 
161 in recv em0
07250   0  0 deny log logamount 100 tcp from any to any dst-port 
162 in recv em0
07275   0  0 deny log logamount 100 udp from any to any dst-port 
162 in recv em0
07300   0  0 deny log logamount 100 tcp from any to any dst-port 194
07310   0  0 deny log logamount 100 udp from any to 

Why can't ping

2008-07-10 Thread EdwardKing
I configure ed0 when I install FreeBSD7.0,like follows:
Host:test.example.com 
Domain:test.com 
IPv4 GateWay: 172.18.0.1 
Name server: 172.18.0.250 
IPv4 Address: 172.18.0.19 
Netmask:255.255.255.0 

Then I Ping itself,like follows: 
#ping 172.18.0.19 

Then result is failure:
ping: sendto: No route to host 

Why? 

I use ifconfig -a to show my ip,like follows:
 
le0: flags=8843 UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 
options=8 VLAN_MTU 
either 00:0d:18:23:32:7a 
inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 
media: Ethernet autoselect 
status: active 
plip0:flags=108810 POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 1500 
lo0:flags=8049 UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 
inet6::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet 127.0.0.1 netmask 0xff00 

Where is my following configure information, I can't find them!
Host:test.example.com 
Domain:test.com 
IPv4 GateWay: 172.18.0.1 
Name server: 172.18.0.250 
IPv4 Address: 172.18.0.19 
Netmask:255.255.255.0 

What raise to lost my configure information? How to configure my ip and how to 
ping successly?

I am a newer to BSDUnix,please give me detail steps.

Thanks in advance!
Best regards,
Edward


--
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) is intended only for the use of the intended 
recipient and may be confidential and/or privileged of Neusoft Group Ltd., its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing, storing, 
disclosure or copying is strictly prohibited, and may be unlawful. If you have 
received this communication in error, please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---

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


RE: Why can't ping

2008-07-10 Thread Chris Haulmark

Hello!
 I configure ed0 when I install FreeBSD7.0,like follows:
 Host:test.example.com
 Domain:test.com
 IPv4 GateWay: 172.18.0.1
 Name server: 172.18.0.250
 IPv4 Address: 172.18.0.19
 Netmask:255.255.255.0

I noticed you are using ed0 as the interface?

There is no ed in FreeBSD.

 
 Then I Ping itself,like follows:
 #ping 172.18.0.19
 
 Then result is failure:
 ping: sendto: No route to host
 
 Why?
 
 I use ifconfig -a to show my ip,like follows:
 
 le0: flags=8843 UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500

This is your interface - le0.


 options=8 VLAN_MTU
 either 00:0d:18:23:32:7a
 inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1
 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255

It shows that your le0 interface has not been assigned with the network
information
that you listed.

Try again but use le0 as your interface instead.

Chris Haulmark

 media: Ethernet autoselect
 status: active
 plip0:flags=108810 POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric
 1500
 lo0:flags=8049 UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
 inet6::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 inet 127.0.0.1 netmask 0xff00
 
 Where is my following configure information, I can't find them!
 Host:test.example.com
 Domain:test.com
 IPv4 GateWay: 172.18.0.1
 Name server: 172.18.0.250
 IPv4 Address: 172.18.0.19
 Netmask:255.255.255.0
 
 What raise to lost my configure information? How to configure my ip
and
 how to ping successly?
 
 I am a newer to BSDUnix,please give me detail steps.
 
 Thanks in advance!
 Best regards,
 Edward
 
 

---
 ---
 Confidentiality Notice: The information contained in this e-mail and
 any accompanying attachment(s) is intended only for the use of the
 intended recipient and may be confidential and/or privileged of
Neusoft
 Group Ltd., its subsidiaries and/or its affiliates. If any reader of
 this communication is not the intended recipient, unauthorized use,
 forwarding, printing, storing, disclosure or copying is strictly
 prohibited, and may be unlawful. If you have received this
 communication in error, please immediately notify the sender by return
 e-mail, and delete the original message and all copies from your
 system. Thank you.

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

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


Re: Why can't ping

2008-07-10 Thread sac u

 This is your interface - le0.



Additonally do not forget to run /etc/netstart

 options=8 VLAN_MTU
  either 00:0d:18:23:32:7a
  inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1
  inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255

 It shows that your le0 interface has not been assigned with the network
 information
 that you listed.

 Try again but use le0 as your interface instead.

 Chris Haulmark


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


Re: Why can't ping

2008-07-10 Thread Polytropon
On Thu, 10 Jul 2008 05:10:25 -0400, Chris Haulmark [EMAIL PROTECTED] wrote:
 There is no ed in FreeBSD.

Off topic, but there is:

% man 4 ed
ed -- NE-2000 and WD-80x3 Ethernet driver

Older NIC, but still present, works for RealTek RTL-8029,
for example.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why can't ping

2008-07-10 Thread Jerry McAllister
On Wed, Jul 09, 2008 at 04:01:27PM +0800, EdwardKing wrote:

 I configure ed0 when I install FreeBSD7.0,like follows:
 Host:test.example.com 
 Domain:test.com 
 IPv4 GateWay: 172.18.0.1 
 Name server: 172.18.0.250 
 IPv4 Address: 172.18.0.19 
 Netmask:255.255.255.0 
 
 Then I Ping itself,like follows: 
 #ping 172.18.0.19 
 
 Then result is failure:
 ping: sendto: No route to host 
 
 Why? 

I'll make a wild guess that you have DHCP turned on and your le0 NIC 
was automatically configured the way it shows below.
Then, either you don't have an ed0 on the machine, or for some reason,
the system does not find it.   Check dmesg(8) to see if the system
finds an ed0 NIC.

jerry   

 
 I use ifconfig -a to show my ip,like follows:
  
 le0: flags=8843 UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 
 options=8 VLAN_MTU 
 either 00:0d:18:23:32:7a 
 inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 
 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 
 media: Ethernet autoselect 
 status: active 
 plip0:flags=108810 POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 1500 
 lo0:flags=8049 UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 
 inet6::1 prefixlen 128 
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
 inet 127.0.0.1 netmask 0xff00 
 
 Where is my following configure information, I can't find them!
 Host:test.example.com 
 Domain:test.com 
 IPv4 GateWay: 172.18.0.1 
 Name server: 172.18.0.250 
 IPv4 Address: 172.18.0.19 
 Netmask:255.255.255.0 
 
 What raise to lost my configure information? How to configure my ip and how 
 to ping successly?
 
 I am a newer to BSDUnix,please give me detail steps.
 
 Thanks in advance!
 Best regards,
 Edward
 
 
 --
 Confidentiality Notice: The information contained in this e-mail and any 
 accompanying attachment(s) is intended only for the use of the intended 
 recipient and may be confidential and/or privileged of Neusoft Group Ltd., 
 its subsidiaries and/or its affiliates. If any reader of this communication 
 is not the intended recipient, unauthorized use, forwarding, printing, 
 storing, disclosure or copying is strictly prohibited, and may be unlawful. 
 If you have received this communication in error, please immediately notify 
 the sender by return e-mail, and delete the original message and all copies 
 from your system. Thank you. 
 ---
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't ping own ip configured on tun device‏

2008-02-27 Thread Warner Lambert

On my gateway I configured a tunnel device (tun0) and connected it with a 
remote host using OpenSSH. Ifconfig looks as follows:tun0: 
flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500inet 10.254.254.1 
-- 10.254.254.2 netmask 0xff00 Opened by PID 4619I can ping or 
connect via ssh to 10.254.25.2 but I am unable to ping my own address 
(10.254.254.1).  Is this supposed to work like that? Eventually I would like to 
have daemons listening only eg. on 10.254.254.1:80. How would I achieve this if 
I the machine doesen't even recognize 10.254.254.1 as it's own address.On the 
other side it's exactly otherwise arround, I can ping the gateway (?) but not 
the own address.Am I missing something important? Is this standard behavior for 
tun devices?Thanks.Warner
_
Climb to the top of the charts! Play the word scramble challenge with star 
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't ping localhost?

2006-10-01 Thread Laurence Sanford

P.U.Kruppa wrote:

On Sat, 30 Sep 2006, Chuck Swiger wrote:


Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback 
isn't properly configured.  Perhaps you have a network_interfaces 
entry listed in /etc/rc.conf which does not mention lo0...?

I think this entry should live in /etc/defaults/rc.conf

ifconfig_lo0=inet 127.0.0.1   # default loopback device
# configuration.

Thanks Uli, I checked based on your post, and it is there. Perhaps I 
have something running at startup that's breaking things? Looks like 
I'll be digging a little more to see what I can find.

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


Re: Can't ping localhost?

2006-09-30 Thread Chuck Swiger

Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback isn't 
properly configured.  Perhaps you have a network_interfaces entry listed in 
/etc/rc.conf which does not mention lo0...?


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


Re: Can't ping localhost?

2006-09-30 Thread Laurence Sanford

Chuck Swiger wrote:

Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback isn't 
properly configured.  Perhaps you have a network_interfaces entry 
listed in /etc/rc.conf which does not mention lo0...?


Thanks for even bothering to reply Chuck. Honestly, at my age, I should 
know better than to post to mailing lists while too tired to be 
coherent. The actual point of my question was, how exactly does a system 
come to boot up without having lo0 configured as 127.0.0.1? I do have a 
network interfaces line in rc.conf that specifies nve0, but that's the 
way it's always been on this box, and this is only a recent development 
that it's not been assigned correctly at boot time. I was looking into 
several other issues I've been seeing (not getting emails from this box 
for periodic tasks, etc) and finally ran it down to this. Did something 
change recently? My last update was sept 2nd, and this stopped working 
for me only about a week ago, maybe two, so it didn't coincide with that 
update. Now that I've got a little more mental capacity to work with, 
anyone got something to point me in the right direction? Is it a good 
idea to configure lo0 in rc.conf even though it should happen 
automatically? Thanks again.

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


Re: Can't ping localhost?

2006-09-30 Thread P.U.Kruppa

On Sat, 30 Sep 2006, Chuck Swiger wrote:


Laurence Sanford wrote:

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384


If there isn't an inet 127.0.0.1 entry following, the loopback isn't 
properly configured.  Perhaps you have a network_interfaces entry listed in 
/etc/rc.conf which does not mention lo0...?

I think this entry should live in /etc/defaults/rc.conf

ifconfig_lo0=inet 127.0.0.1   # default loopback device
# configuration.

Regards,

Uli



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





Peter Ulrich Kruppa
Wuppertal
Germany

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


Can't ping localhost?

2006-09-29 Thread Laurence Sanford

Anyone got any ideas on this?

[EMAIL PROTECTED](~)$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss


[EMAIL PROTECTED](~)$ ifconfig lo0
lo0: flags=8008LOOPBACK,MULTICAST mtu 16384
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't PING because i've got a NAT ISSUE =(

2005-01-18 Thread k o u b
  At the startup of my FreeBSD 5.3 (mini-install), i've got two mess
  about NAT:
  Warning: enable NAT: Invalid command
  Warning: enable nat: Failed 1
  after, i've got the mess fxp0: device timeout
  TIA
  koub. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't ping between FreeBSD and Win2K...

2005-01-06 Thread k o u b
IPFW is initialized without any setup in the rc.conf file??? I
 was used the mini-install... it's automaticaly enable after
 installation??
 TIA Mrachik.
 koub.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't ping between FreeBSD and Win2K...

2005-01-05 Thread k o u b
  Hello,
  I was setup the Win2K as client on the 192.168.3.2 ip adress (netmask
  255.255.255.0), with a passerel on the FreeBSD (5.3R MINI-INSTALL) and
  the
  ip adress is 192.168.3.1. the Win2K computer name is windaube and
  the
  FreeBSD computer name is skoub.
  you can look bottom for detailled statistics:
  __
  __
  __
  __
  __
  __
  ON THE WIN2K COMPUTER:
  C:\ route print
  ==
  =
  Liste d'Interfaces
  0x1 ... MS TCP Loopback interface
  0x103 ...00 04 ac 45 91 fb .. IBM 10/100 EtherJet PCI Adapter
  ==
  =
  ==
  =
  Itinéraires actifs :
  Destination réseauMasque réseau  Adr. passerelle   Adr. interface
  Métrique
0.0.0.0  0.0.0.0  192.168.3.1
  192.168.3.2   1
  127.0.0.0255.0.0.0127.0.0.1
  127.0.0.1   1
192.168.3.0255.255.255.0  192.168.3.2
  192.168.3.2   1
192.168.3.2  255.255.255.255127.0.0.1
  127.0.0.1   1
  192.168.3.255  255.255.255.255  192.168.3.2
  192.168.3.2   1
  224.0.0.0224.0.0.0  192.168.3.2
  192.168.3.2   1
255.255.255.255  255.255.255.255  192.168.3.2
  192.168.3.2   1
  Passerelle par défaut :   192.168.3.1
  ==
  =
  Itinéraires persistants :
Aucun
  C:\ ping 192.168.3.2
  Envoi d'une requête 'ping' sur 192.168.3.2 avec 32 octets de données :
  Réponse de 192.168.3.2 : octets=32 temps10 ms TTL=128
  Réponse de 192.168.3.2 : octets=32 temps10 ms TTL=128
  Réponse de 192.168.3.2 : octets=32 temps10 ms TTL=128
  Réponse de 192.168.3.2 : octets=32 temps10 ms TTL=128
  Statistiques Ping pour 192.168.3.2:
  Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
  Durée approximative des boucles en millisecondes :
  minimum = 0ms, maximum = 0ms, moyenne = 0ms
  C:\ ping 192.168.3.1
  Envoi d'une requête 'ping' sur 192.168.3.1 avec 32 octets de données :
  Délai d'attente de la demande dépassé.
  Délai d'attente de la demande dépassé.
  Délai d'attente de la demande dépassé.
  Délai d'attente de la demande dépassé.
  Statistiques Ping pour 192.168.3.1:
  Paquets : envoyés = 4, reçus = 0, perdus = 4 (perte 100%)
  Durée approcimative des boucles en millisecondes :
  minimum = 0ms, maximum = 0 ms, moyenne = 0ms
  C:\ arp -a
  Aucune entrée ARP trouvée
  __
  __
  __
  __
  __
  __
  ON THE FREEBSD COMPUTER (su mode):
  # ifconfig -a
  fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=8VLAN_MTU
  inet 192.168.3.1 netmask 0xff00 broadcast 192.168.3.255
  inet6 fe80::204:acff:fe25:c4bd%fxp0 prefixlen 64 scopeid 0x1
  ether 00:04:ac:25:c4:bd
   media: Ethernet autoselect (100 baseTX full-duplex)
  status: active
  plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
  lo0: flags=8008LOOPBACK,MULTICAST mtu 16384
  tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
  Opened by PID 200
  # route get default
  route: writing to routing socket: No such process
  # route get 192.168.3.1
 route to: skoub
  destination: skoub
interface: lo0
flags: UP,HOST,DONE,LLINFO,WASCLONED,LOCAL
  recvpipe  sendpipe  ssthresh  rtt,msec rttvar  hopcountmtu
  expire
0 0 0 0  0 0
  1500   0
  # route get 192.168.3.2
 route to: windaube
  destination: 192.168.3.0
 mask: 255.255.255.0
interface: fxp0
flags: UP,DONE,CLONING
  recvpipe  sendpipe  ssthresh  rtt,msec rttvar  hopcountmtu
  expire
0 0 0 0  0 01500
  -2153
  # ping 192.168.3.1
  PING 192.168.3.1 (192.168.3.1):56 data bytes
  64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.288 ms
  64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.232 ms
  64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.223 ms
  64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=0.216 ms
  ^C 'arret de l utilisateur
  --- 192.168.3.1 ping statistics ---
  4 packets transmitted, 4 packets received, 0% packet loss
  round-trip min/avg/max/stddev = 0.216/0.240/0.288/0.028 ms
  # ping 192.168.3.2
  PING 192.168.3.2 (192.168.3.2):56 data bytes
  ping: sendto: Host is down
  ping: sendto: Host is down
  ping: sendto: Host is 

Re: Re: Can't ping between FreeBSD and Win2K...

2005-01-05 Thread Mrachik
Please, someone can help me?

May be trouble in ipfw?

Mrachik

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


Running NAT and can't Ping

2004-09-26 Thread Shu Bin Zhu
I have a strange problem.  Here is my setup.
 
 
ISP 1ISP 2
  ||
Router 1Router 2
192.168.0.1   Internet Address A
  ||
  ||
  --  Switch    
  |||
FreeBSD1 FreeBSD2   Windows 2000
192.168.0.254   192.168.0.2 192.168.0.253
Internet Address B
(NAT)
 
The problem is if NAT on FreeBSD2 is not running, all the machines can ping each other.
 
If FreeBSD2 runs NAT, ping still works, except FreeBSD2 can't ping Router1 
(192.168.0.1) and FreeBSD1 (192.168.0.254). FreeBSD2 can ping to the interent fine.
 
The Windows 2000 machines gets it's IP from DHCP running on FreeBSD2.  For a day, 
FreeBSD can't ping Windows 2000 either.  But now it is able to.
 
The NAT configuration on FreeBSD2 is :
 
/sbin/natd -u -a (xxx.xxx.xxx.xxx Internet Address B)
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via (xxx.xxx.xxx.xxx Internet Address B)
/sbin/ipfw add pass all from any to any

The unusual setup is the FreeBSD2 only has one ethernet card, and is doing IP aliasing.
 
I have another setup with 2 FreeBSD boxes, and one or both of them are doing NAT, and 
doesn't have this 'one way' ping problem.
 
Thanks in advance.
 
Shu 
 
 
 
 
 


-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't ping lan PC from Gateway

2003-12-15 Thread Jason Lavigne
Hello all, here is what I have going on

INET-1-3-4
\
 \
  -2
   
Boxes
1 (216.138.226.17)  = Main Firewall/Gateway (FBSD5.1)
2 (192.168.1.5) = LAN PC (WinSrv2K3)
3 (216.138.226.25)  = Development Firewall/Gateway (FBSD5.1)
4 (192.168.2.199)   = LAN PC (WinXP)

1 and 3 both have real IPs
1 and 3 are connected via a switch
1 and 2, and 3 and 4 are connected via separate hubs
2 and 3 uses 1 as gateway
4 uses 3 as gateway configured via dhcp from 3
1 and 3 uses IPFilter and NAT, 3 has no IPF rules loaded

Here is the problem, it is with the connection between 3 and 4, I can
ping from 4 to 3 but not from 3 to 4.
From 4 I can ping 3, 1 and the Internet just fine.
From 3 I can ping 1, 2 and the Internet but not 4. I find it interesting
that I can ping 2 (assuming via 1).
From 1 I can ping 2 and 3.
Expectedly 4 can not ping 2, and vise versa, this is desired as
ultimately I will VPN 3 to 1 to have full routing between networks.

Here are the netstat -r results from 3

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
defaultH17.C226.tor.veloc UGSc1  915ep0
localhost  localhost  UH  113742lo0
192.168.2  link#1 UC  20xl0
192.168.2.199  00:e0:98:90:2d:9b  UHLW3  986xl0
672
192.168.2.255  ff:ff:ff:ff:ff:ff  UHLWb   1  796xl0
H16.C226.tor.veloc link#3 UC  30ep0
H17.C226.tor.veloc 00:80:c6:ea:7a:f1  UHLW20ep0
1170
H27.C226.tor.veloc 00:c0:4f:94:82:d3  UHLW0  385ep0
479
H31.C226.tor.veloc ff:ff:ff:ff:ff:ff  UHLWb   2   57ep0

Thanks all for taking the time in reading my email.

Cheers,

Jay

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


Can't ping, ssh, ftp INTO new install

2003-10-12 Thread Heath Volmer
I'm fairly new with FreeBSD and am having one of the most frustrating
problems I've ever had setting up a machine.

Ran a fairly basic install.  I can use Mozilla on the internet okay.  Have
sshd going.

I can't get into the machine from the OS X box sitting right next to it on
my desk.  

I've set the BSD box to be 10.0.0.3.
The OS X box is at 10.0.0.2.
Accessing the outside world through DSL router at 10.0.0.1

Tried through a hub - no luck.
Tried through a xover cable straight between the mac and BSD - no luck.
Tried ping, ssh, ftp, http - no luck.
Tried reinstalling - no luck.
Yet, I can surf the net?

One more oddity.  When I ping from the BSD box to other local machines on my
network, I get DUP! responses from my public IP address, even though there
are only three ports on the mac that are public through NAT on my router.  I
don't get this behavior when pinging from other machines.

I'm assuming my NIC is bad, but why am I able to get on-line?

This makes no sense.  I swear it was working at one point a few weeks back.

Any suggestions?

Thanks, Heath



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


Re: Can't ping, ssh, ftp INTO new install

2003-10-12 Thread Rus Foster
On Sun, 12 Oct 2003, Heath Volmer wrote:

 I'm fairly new with FreeBSD and am having one of the most frustrating
 problems I've ever had setting up a machine.

 Ran a fairly basic install.  I can use Mozilla on the internet okay.  Have
 sshd going.

 I can't get into the machine from the OS X box sitting right next to it on
 my desk.

 I've set the BSD box to be 10.0.0.3.
 The OS X box is at 10.0.0.2.
 Accessing the outside world through DSL router at 10.0.0.1

Try doing an ifconfig and check the netmask on all of them matches

Rus

-- 
w: http://www.jvds.com  | Just Virtual Dedicated Servers
e: [EMAIL PROTECTED]| banners: http://www.jvds.com/banners.php
t: +44 7919 373537  |
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


pppoe, can't ping tun0 from dmz machine

2003-07-29 Thread Rocco Caputo
I've acquired DSL.  I didn't like the modem's NAT and PPPoE, so I
switched it to bridged Ethernet and am using ppp(8) for that.  I'm using
ipfw2 for QOS things (pipes and queues).  I'm using ipf for firewalling
and ftp proxying.

Almost everything works well, except (so far) active FTP and pinging the
tun0 interface.

tcpdump shows ICMP echo requests and responses, but ping does not see
them.  Opening ipf (pass in all, pass out all) fixes ping.

ipfnat's active ftp proxy sees the PORT request and punches a hole
through the firewall, but incoming packets don't arrive.  Opening ipf
fixes this, too.

Other incoming connections seem to work fine.  DNS works fine.  TCP
works fine.

I've read the handbook, the howtos, searched the list archives, usenet,
and the web.  Nothing solved it.

So.  What have I overlooked?  Where have I gone wrong?  Would you like
to see my cling-film collection?  How about an extensive (but perhaps
not exhaustive) excerpt from my system configuration?  Ok, it is
included.

-- 
Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/

=== ppp.conf

default:
  ident user-ppp VERSION (built COMPILATIONDATE)
  set log  CBCP CCP Chat Connect Command IPCP tun Phase Warning

papchap:
  add default HISADDR
  disable ipv6cp
  disable vjcomp
  enable  iface-alias
  enable  lqr
  enable  tcpmssfixup
  nat enable  yes
  nat log yes
  nat same_ports  yes
  set authkey *
  set authname*
  set cd  5
  set crtscts off
  set device  PPPoE:dc0
  set dia
  set ifaddr  68.213.211.142/0 192.168.36.176/0
  set login
  set mru 1492
  set mtu 1492
  set redial  1 0
  set server  /var/run/tun0  0177
  set speed   sync
  set timeout 0

=== netstat -rn

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.36.176 UGSc   80  1377475   tun0
10 link#2 UC  40rl0
10.0.0.7   link#2 UHLW08rl0
10.0.0.18  00:e0:18:0b:ac:22  UHLW1   115334rl0303
10.0.0.25  00:e0:18:30:68:32  UHLW0   292874lo0
10.0.0.100 00:e0:18:30:65:f6  UHLW1   111019rl0163
127.0.0.1  127.0.0.1  UH  6   196295lo0
192.168.1  link#1 UC  20dc0
192.168.1.25   00:04:5a:59:8e:92  UHLW0   142112lo0
192.168.1.254  00:60:0f:31:c7:86  UHLW075153dc0865
192.168.36.176 68.213.211.142 UH 7671059   tun0

=== ipfstat -i

block in quick on tun0 from 0.0.0.0/8 to any
block in quick on tun0 from 127.0.0.0/8 to any
block in quick on tun0 from 169.254.0.0/16 to any
block in quick on tun0 from 172.16.0.0/12 to any
block in quick on tun0 from 192.0.2.0/24 to any
block in quick on tun0 from 192.168.0.0/16 to any
block in quick on tun0 from 224.0.0.0/4 to any
block in quick on tun0 from 240.0.0.0/4 to any
pass in quick on lo0 from any to any
pass in quick on rl0 from any to any
pass in quick on dc0 from any to any
pass in quick on tun0 proto tcp from any to any port = 80 flags S/FSRPAU keep state 
keep frags
pass in quick on tun0 proto tcp from any to any port = 113 flags S/FSRPAU keep state 
keep frags
pass in quick on tun0 proto tcp from any to any port = 433 flags S/FSRPAU keep state 
keep frags
pass in quick on tun0 proto tcp from any to any port 6881  6999 flags S/FSRPAU keep 
state keep frags
pass in quick on tun0 proto tcp from any to any port = 11512 flags S/FSRPAU keep state 
keep frags
pass in quick on tun0 proto tcp from any to any port 32000  32100 flags S/FSRPAU 
keep state keep frags
block in quick from any to any

=== ipfstat -o

block out quick on tun0 from 0.0.0.0/8 to any
block out quick on tun0 from 127.0.0.0/8 to any
block out quick on tun0 from 169.254.0.0/16 to any
block out quick on tun0 from 172.16.0.0/12 to any
block out quick on tun0 from 192.0.2.0/24 to any
block out quick on tun0 from 192.168.0.0/16 to any
block out quick on tun0 from 224.0.0.0/4 to any
block out quick on tun0 from 240.0.0.0/4 to any
pass out quick on lo0 from any to any
pass out quick on rl0 from any to any
pass out quick on dc0 from any to any
pass out quick on tun0 proto icmp from any to any keep state
pass out quick on tun0 proto tcp from any to any flags S/FSRPAU keep state keep frags
pass out quick on tun0 proto udp from any to any keep state keep frags
block out quick from any to any

=== ipnat -l

List of active MAP/Redirect filters:
map tun0 68.213.211.142/32 - 68.213.211.142/32 proxy port ftp ftp/tcp

List of active sessions:
(none)

=== various rc.conf bits

ifconfig_dc0=inet 192.168.1.25 netmask 255.255.255.0
network_interfaces=lo0 rl0 dc0 tun0

firewall_enable=YES
firewall_logging=YES
firewall_type=/etc/rc.firewall.custom
firewall_flags=-p /usr/bin/cpp

ipfilter_enable=YES