Re: Strange network issue (packet loss?)

2010-08-20 Thread Antonio Kless
I have tried to change switch port and use another ethernet interface (igb1)
on the server, but problem are still here.

So could I say it is 100% not hardware bug?


-- 
Best regards,
Antonio Kless,
http://kless.spb.ru/
___
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: Strange network issue (packet loss?)

2010-08-20 Thread Matthew Seaman
On 19/08/2010 09:03, Antonio Kless wrote:
 # ifconfig igb0 media 100BaseTX
 # ifconfig igb0
 igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
 ether 00:30:48:de:9a:4e
 inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255
 media: Ethernet 100baseTX (100baseTX half-duplex)
 status: active
 
 # scp -C u...@remote-server.net:/usr/bak/* /usr/bak
 Password:
 dump.2010.08.19_07-46-58.sql
 100% 1291MB   3.1MB/s   07:00
 
 
 That's works! But why half-duplex? Go next:

Connections running at half-duplex is a classic sign of a mismatch
between you and your provider's ideas about using autonegotiation on the
connection.  Either you both configure your network interfaces to
autoneg, or neither of you do.  No, it's not good enough to force your
NIC to be fixed to the settings it would have had through
autonegotiation: that will cause the *other* end of the connection to
run at half-duplex.

Looks like you should certainly be using autoneg -- the corrupted MAC is
probably a symptom of some other problem.  Possibly hardware troubles.
Eliminate the cheap stuff first: check network cables for kinks or
breakages, swap out for fresh ones, replug jacks into sockets.
Try alternative NICs if you have them available.

FreeBSD doesn't have a setting that lets you specify the max speed you
want a NIC to run at while still allowing autoneg up to that speed --
which is something that a number of higher-end switches do provide -- so
if you need bandwidth limitation, you should look into using dummynet or
ALTQ.

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


Strange network issue (packet loss?)

2010-08-19 Thread Antonio Kless
Server has 1000 Mbit network interface connected to 1000 Mbit Cisco switch.
Let's say this things works OK.
Actually, provider gives 10 Mbit channel.

Here we go:

# uname -a
FreeBSD server.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Mon Jul 26 02:33:48
MSD 2010 u...@server.net:/usr/obj/usr/src/sys/ALTERKERN  amd64

# ifconfig igb0
igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:30:48:de:9a:4e
inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255
media: Ethernet autoselect (1000baseTX full-duplex)
status: active

# scp -C u...@remote-server.net:/usr/bak/* /usr/bak
Password:
dump.2010.08.19_07-46-58.sql
13%  172MB   3.0MB/s   06:08 ETA
Disconnecting: Corrupted MAC on input.
lost connection


I repeat that about 20 times. Error goes in random moment and point
(percentage) of downloading.


# ifconfig igb0 media 100BaseTX
# ifconfig igb0
igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:30:48:de:9a:4e
inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255
media: Ethernet 100baseTX (100baseTX half-duplex)
status: active

# scp -C u...@remote-server.net:/usr/bak/* /usr/bak
Password:
dump.2010.08.19_07-46-58.sql
100% 1291MB   3.1MB/s   07:00


That's works! But why half-duplex? Go next:


# ifconfig igb0 media 100BaseTX mediaopt full-duplex
# ifconfig igb0
igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:30:48:de:9a:4e
inet 1.2.3.4 netmask 0xff00 broadcast 1.2.3.255
media: Ethernet 100baseTX full-duplex
status: active

# scp -C u...@remote-server.net:/usr/bak/* /usr/bak
Password:
dump.2010.08.19_07-46-58.sql
82% 1069MB 453.2KB/s   08:20 ETA
^C
Killed by signal 2.


OMG! Where has the speed get lost?

What could be the reason, any ideas?

-- 
Best regards,
Antonio Kless,
http://kless.spb.ru/
___
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 6.2 on esx3.5 network issue

2010-04-07 Thread josemel esleta
Hi,
 
I currently have installed FreeBSD 6.2 STABLE in esx, I do have problem with 
download file from the box using ftp/scp service. It seems to be slow having a 
Gigabit lan. it just seems to have going about 100Kbps-500Kpbs on download 
speed. But I do have high upload speed ranging from 4-5MBps. Is there any 
adjustments that needs to be done on the kernel?
 
Thanks
Josh



___
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: FreeBSD 6.2 on esx3.5 network issue

2010-04-07 Thread Ross Cameron
On Wed, Apr 7, 2010 at 7:47 AM, josemel esleta cyberjosh...@yahoo.com wrote:
 Hi,

 I currently have installed FreeBSD 6.2 STABLE in esx, I do have problem with 
 download file from the box using ftp/scp service. It seems to be slow having 
 a Gigabit lan. it just seems to have going about 100Kbps-500Kpbs on download 
 speed. But I do have high upload speed ranging from 4-5MBps. Is there any 
 adjustments that needs to be done on the kernel?


Well for a start FreeBSD 6.x is no longer supported by the community.

I would suggest upgrading to at LEAST the current release of FreeBSD
7.x and preferably 8.x
As there is a very low likelihood that there will be any stability
or security updates for the 6.x series.




-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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: FreeBSD 6.2 on esx3.5 network issue

2010-04-07 Thread Chuck Swiger
On Apr 7, 2010, at 12:54 AM, Ross Cameron wrote:
 Well for a start FreeBSD 6.x is no longer supported by the community.

6.2 is no longer supported.  6.x in the form of 6.4 is supported through 
November 30, 2010.

Regards,
-- 
-Chuck

___
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: Strange network issue in freebsd 8

2010-01-28 Thread Andriy Gapon
on 28/01/2010 05:03 sam said the following:
 that s why I 've been so in doubt using freebsd AMD64 release.

Why again?

-- 
Andriy Gapon
___
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: Strange network issue in freebsd 8

2010-01-27 Thread Sherin George
Hello Sam,

The problem happened today again.

I am getting this message on traceroute

===
traceroute: findsaddr: write: No such process


When running a ping to 8.8.8.8, it says following.

===
ping: sendto: No route to host


Please see the result of netstat -rn command.


myserver# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultXXX.XXX.XXX.241 UGS62   209247em0
127.0.0.1  link#3 UH  00lo0
XXX.XXX.XXX.240/29  link#1 U   00em0
XXX.XXX.XXX.242 link#1 UHS 00lo0

Internet6:
Destination   Gateway   Flags
Netif Expire
::1   ::1   UH
lo0
fe80::%lo0/64 link#3U
lo0
fe80::1%lo0   link#3UHS
lo0
ff01:3::/32   fe80::1%lo0   U
lo0
ff02::%lo0/32 fe80::1%lo0   U
lo0
=

Note: I have replaced first three octets.

I have checked netstat -m also. It is also not showing any problem.

Could anyone please help me to sort out this issue.

--
Thanks,
Sherin

On Thu, Jan 28, 2010 at 6:29 AM, sam s...@ip6.com.au wrote:

 Hi,

 Is this problem still happening?

 Cheers
 Sam


 On 24/01/2010 2:16 PM, Sherin George wrote:

 Hello,

 I am facing some sort of strange network issue in a freebsd server
 occasionally.

 OS: FreeBSD 8.0-RELEASE - amd64

 Now, I have updated to FreeBSD 8.0-RELEASE-p2

 The servers loses network connection once in a few days. I logged into
 console and verified that network is up. I even restarted network service
 using following command.

 /etc/rc.d/netif restart

 Still, it didn't fix.

 I checked /var/log/messages, but I am not getting any clue.

 ==
 Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding
 provider ad0 finished.
 Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call
 Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call
 Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0
 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed
 Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN
 Jan 23 02:20:02 myserver kernel: em0: link state changed to UP
 Jan 23 02:29:58 myserver reboot: rebooted by root
 Jan 23 02:29:58 myserver syslogd: exiting on signal 15
 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel
 Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD
 Project.
 Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986,
 1988,
 1989, 1991, 1992, 1993, 1994
 Jan 23 02:31:31 myserver kernel: The Regents of the University of
 California. All rights reserved.
 Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The
 FreeBSD Foundation.
 Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21
 15:02:08
 UTC 2009
 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu:
 /usr/obj/usr/src/sys/GENERIC
 Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz
 quality 0
 ==

 Network, TCP stack all were up. It was pinging gateway even. But,
 traceroute
 was not going beyond gateway.

 I believe the issue is not related to anything outside server since a
 reboot
 always fixes the issue.

 I will be grateful for any advice that can help me in troubleshooting this
 problem.

 --
 Best Regards,
 Sherin
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-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: Strange network issue in freebsd 8

2010-01-27 Thread Li, Qing

I have been consumed by day job 200% of my time.

I have some free time tonight and can work with you off-line.
Is it possible for you to update to the latest stable-8 kernel 
and we start from there ?

-- Qing


-Original Message-
From: owner-freebsd-...@freebsd.org on behalf of Sherin George
Sent: Wed 1/27/2010 6:05 PM
To: freebsd-...@freebsd.org; freebsd-hack...@freebsd.org; 
freebsd-questions@freebsd.org
Subject: Re: Strange network issue in freebsd 8
 
Hello Sam,

The problem happened today again.

I am getting this message on traceroute

===
traceroute: findsaddr: write: No such process


When running a ping to 8.8.8.8, it says following.

===
ping: sendto: No route to host


Please see the result of netstat -rn command.


myserver# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultXXX.XXX.XXX.241 UGS62   209247em0
127.0.0.1  link#3 UH  00lo0
XXX.XXX.XXX.240/29  link#1 U   00em0
XXX.XXX.XXX.242 link#1 UHS 00lo0

Internet6:
Destination   Gateway   Flags
Netif Expire
::1   ::1   UH
lo0
fe80::%lo0/64 link#3U
lo0
fe80::1%lo0   link#3UHS
lo0
ff01:3::/32   fe80::1%lo0   U
lo0
ff02::%lo0/32 fe80::1%lo0   U
lo0
=

Note: I have replaced first three octets.

I have checked netstat -m also. It is also not showing any problem.

Could anyone please help me to sort out this issue.

--
Thanks,
Sherin

On Thu, Jan 28, 2010 at 6:29 AM, sam s...@ip6.com.au wrote:

 Hi,

 Is this problem still happening?

 Cheers
 Sam


 On 24/01/2010 2:16 PM, Sherin George wrote:

 Hello,

 I am facing some sort of strange network issue in a freebsd server
 occasionally.

 OS: FreeBSD 8.0-RELEASE - amd64

 Now, I have updated to FreeBSD 8.0-RELEASE-p2

 The servers loses network connection once in a few days. I logged into
 console and verified that network is up. I even restarted network service
 using following command.

 /etc/rc.d/netif restart

 Still, it didn't fix.

 I checked /var/log/messages, but I am not getting any clue.

 ==
 Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding
 provider ad0 finished.
 Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call
 Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call
 Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0
 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed
 Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN
 Jan 23 02:20:02 myserver kernel: em0: link state changed to UP
 Jan 23 02:29:58 myserver reboot: rebooted by root
 Jan 23 02:29:58 myserver syslogd: exiting on signal 15
 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel
 Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD
 Project.
 Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986,
 1988,
 1989, 1991, 1992, 1993, 1994
 Jan 23 02:31:31 myserver kernel: The Regents of the University of
 California. All rights reserved.
 Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The
 FreeBSD Foundation.
 Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21
 15:02:08
 UTC 2009
 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu:
 /usr/obj/usr/src/sys/GENERIC
 Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz
 quality 0
 ==

 Network, TCP stack all were up. It was pinging gateway even. But,
 traceroute
 was not going beyond gateway.

 I believe the issue is not related to anything outside server since a
 reboot
 always fixes the issue.

 I will be grateful for any advice that can help me in troubleshooting this
 problem.

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





___
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-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: Strange network issue in freebsd 8

2010-01-27 Thread sam

that s why I 've been so in doubt using freebsd AMD64 release.

On 28/01/2010 1:05 PM, Sherin George wrote:

Hello Sam,

The problem happened today again.

I am getting this message on traceroute

===
traceroute: findsaddr: write: No such process


When running a ping to 8.8.8.8, it says following.

===
ping: sendto: No route to host


Please see the result of netstat -rn command.


myserver# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultXXX.XXX.XXX.241 UGS62   209247em0
127.0.0.1  link#3 UH  00lo0
XXX.XXX.XXX.240/29  link#1 U   00em0
XXX.XXX.XXX.242 link#1 UHS 00lo0

Internet6:
Destination   Gateway   Flags
Netif Expire
::1   ::1   UH
lo0
fe80::%lo0/64 link#3U
lo0
fe80::1%lo0   link#3UHS
lo0
ff01:3::/32   fe80::1%lo0   U
lo0
ff02::%lo0/32 fe80::1%lo0   U
lo0
=

Note: I have replaced first three octets.

I have checked netstat -m also. It is also not showing any problem.

Could anyone please help me to sort out this issue.

--
Thanks,
Sherin

On Thu, Jan 28, 2010 at 6:29 AM, sams...@ip6.com.au  wrote:

   

Hi,

Is this problem still happening?

Cheers
Sam


On 24/01/2010 2:16 PM, Sherin George wrote:

 

Hello,

I am facing some sort of strange network issue in a freebsd server
occasionally.

OS: FreeBSD 8.0-RELEASE - amd64

Now, I have updated to FreeBSD 8.0-RELEASE-p2

The servers loses network connection once in a few days. I logged into
console and verified that network is up. I even restarted network service
using following command.

/etc/rc.d/netif restart

Still, it didn't fix.

I checked /var/log/messages, but I am not getting any clue.

==
Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding
provider ad0 finished.
Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call
Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call
Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0
Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed
Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN
Jan 23 02:20:02 myserver kernel: em0: link state changed to UP
Jan 23 02:29:58 myserver reboot: rebooted by root
Jan 23 02:29:58 myserver syslogd: exiting on signal 15
Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel
Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD
Project.
Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986,
1988,
1989, 1991, 1992, 1993, 1994
Jan 23 02:31:31 myserver kernel: The Regents of the University of
California. All rights reserved.
Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.
Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21
15:02:08
UTC 2009
Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu:
/usr/obj/usr/src/sys/GENERIC
Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz
quality 0
==

Network, TCP stack all were up. It was pinging gateway even. But,
traceroute
was not going beyond gateway.

I believe the issue is not related to anything outside server since a
reboot
always fixes the issue.

I will be grateful for any advice that can help me in troubleshooting this
problem.

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



   


 

___
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-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: Strange network issue in freebsd 8

2010-01-27 Thread Sherin George
Hello,

Thanks Qing.

I  have already upgraded to latest patch as per per the advise of
freebsd-hackers

==
myserver# uname -a
FreeBSD myserver.server.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue
Jan  5 21:11:58 UTC 2010
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64

myserver# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 8.0-RELEASE from update4.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 8.0-RELEASE-p2.
==

--
Regards,
Sherin

On Thu, Jan 28, 2010 at 8:22 AM, Li, Qing qing...@bluecoat.com wrote:


 I have been consumed by day job 200% of my time.

 I have some free time tonight and can work with you off-line.
 Is it possible for you to update to the latest stable-8 kernel
 and we start from there ?

 -- Qing


 -Original Message-
 From: owner-freebsd-...@freebsd.org on behalf of Sherin George
 Sent: Wed 1/27/2010 6:05 PM
 To: freebsd-...@freebsd.org; freebsd-hack...@freebsd.org;
 freebsd-questions@freebsd.org
 Subject: Re: Strange network issue in freebsd 8

 Hello Sam,

 The problem happened today again.

 I am getting this message on traceroute

 ===
 traceroute: findsaddr: write: No such process
 

 When running a ping to 8.8.8.8, it says following.

 ===
 ping: sendto: No route to host
 

 Please see the result of netstat -rn command.

 
 myserver# netstat -rn
 Routing tables

 Internet:
 DestinationGatewayFlagsRefs  Use  Netif Expire
 defaultXXX.XXX.XXX.241 UGS62   209247em0
 127.0.0.1  link#3 UH  00lo0
 XXX.XXX.XXX.240/29  link#1 U   00em0
 XXX.XXX.XXX.242 link#1 UHS 00lo0

 Internet6:
 Destination   Gateway   Flags
 Netif Expire
 ::1   ::1   UH
 lo0
 fe80::%lo0/64 link#3U
 lo0
 fe80::1%lo0   link#3UHS
 lo0
 ff01:3::/32   fe80::1%lo0   U
 lo0
 ff02::%lo0/32 fe80::1%lo0   U
 lo0
 =

 Note: I have replaced first three octets.

 I have checked netstat -m also. It is also not showing any problem.

 Could anyone please help me to sort out this issue.

 --
 Thanks,
 Sherin

 On Thu, Jan 28, 2010 at 6:29 AM, sam s...@ip6.com.au wrote:

  Hi,
 
  Is this problem still happening?
 
  Cheers
  Sam
 
 
  On 24/01/2010 2:16 PM, Sherin George wrote:
 
  Hello,
 
  I am facing some sort of strange network issue in a freebsd server
  occasionally.
 
  OS: FreeBSD 8.0-RELEASE - amd64
 
  Now, I have updated to FreeBSD 8.0-RELEASE-p2
 
  The servers loses network connection once in a few days. I logged into
  console and verified that network is up. I even restarted network
 service
  using following command.
 
  /etc/rc.d/netif restart
 
  Still, it didn't fix.
 
  I checked /var/log/messages, but I am not getting any clue.
 
  ==
  Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding
  provider ad0 finished.
  Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system
 call
  Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system
 call
  Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0
  Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed
  Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN
  Jan 23 02:20:02 myserver kernel: em0: link state changed to UP
  Jan 23 02:29:58 myserver reboot: rebooted by root
  Jan 23 02:29:58 myserver syslogd: exiting on signal 15
  Jan 23 02:31:31 myserver syslogd: kernel boot file is
 /boot/kernel/kernel
  Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD
  Project.
  Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986,
  1988,
  1989, 1991, 1992, 1993, 1994
  Jan 23 02:31:31 myserver kernel: The Regents of the University of
  California. All rights reserved.
  Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of
 The
  FreeBSD Foundation.
  Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21
  15:02:08
  UTC 2009
  Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu:
  /usr/obj/usr/src/sys/GENERIC
  Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182
 Hz
  quality 0
  ==
 
  Network, TCP stack all were up. It was pinging gateway even. But,
  traceroute
  was not going beyond gateway.
 
  I believe the issue is not related to anything outside server since a
  reboot
  always fixes the issue.
 
  I will be grateful

Strange network issue in freebsd 8

2010-01-23 Thread Sherin George
Hello,

i am facing some sort of strange network issue in a freebsd server
occasionally.

OS: FreeBSD 8.0-RELEASE - amd64

The servers loses network connection once in a few days. I logged into
console and verified that network is up. I even restarted network service
using following command.

/etc/rc.d/netif restart

Still, it didn't fix.

I checked /var/log/messages, but I am not getting any clue.

==
Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding
provider ad0 finished.
Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call
Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call
Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0
Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed
Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN
Jan 23 02:20:02 myserver kernel: em0: link state changed to UP
Jan 23 02:29:58 myserver reboot: rebooted by root
Jan 23 02:29:58 myserver syslogd: exiting on signal 15
Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel
Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD
Project.
Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Jan 23 02:31:31 myserver kernel: The Regents of the University of
California. All rights reserved.
Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.
Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08
UTC 2009
Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu:
/usr/obj/usr/src/sys/GENERIC
Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz
quality 0
==

Network, TCP stack all were up. It was pinging gateway even. But, traceroute
was not going beyond gateway.

I believe the issue is not related to anything outside server since a reboot
always fixes the issue.

I will be grateful for any advise that can help me in troubleshooting this
problem.

--
Best Regards,
Sherin
___
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: Strange network issue in freebsd 8

2010-01-23 Thread Sherin George
Hello,

Thanks for the reply.

Please see the result of netstat -rn command.


myserver# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultXXX.XXX.XXX.241 UGS62   209247em0
127.0.0.1  link#3 UH  00lo0
XXX.XXX.XXX.240/29  link#1 U   00em0
XXX.XXX.XXX.242 link#1 UHS 00lo0

Internet6:
Destination   Gateway   Flags
Netif Expire
::1   ::1   UH
lo0
fe80::%lo0/64 link#3U
lo0
fe80::1%lo0   link#3UHS
lo0
ff01:3::/32   fe80::1%lo0   U
lo0
ff02::%lo0/32 fe80::1%lo0   U
lo0
=

Note: I have replaced first three octets.

--
Regards,
Sherin

On Sat, Jan 23, 2010 at 11:57 PM, dacoder d...@dcoder.net wrote:

 you don't say what netstat -rn shows for a default route.
 +++ Sherin George [23/01/10 14:52 +0530]:

 Hello,

 i am facing some sort of strange network issue in a freebsd server
 occasionally.

 OS: FreeBSD 8.0-RELEASE - amd64

 The servers loses network connection once in a few days. I logged into
 console and verified that network is up. I even restarted network service
 using following command.

 /etc/rc.d/netif restart

 Still, it didn't fix.

 I checked /var/log/messages, but I am not getting any clue.

 ==
 Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding
 provider ad0 finished.
 Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call
 Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call
 Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0
 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed
 Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN
 Jan 23 02:20:02 myserver kernel: em0: link state changed to UP
 Jan 23 02:29:58 myserver reboot: rebooted by root
 Jan 23 02:29:58 myserver syslogd: exiting on signal 15
 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel
 Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD
 Project.
 Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986,
 1988,
 1989, 1991, 1992, 1993, 1994
 Jan 23 02:31:31 myserver kernel: The Regents of the University of
 California. All rights reserved.
 Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The
 FreeBSD Foundation.
 Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21
 15:02:08
 UTC 2009
 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu:
 /usr/obj/usr/src/sys/GENERIC
 Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz
 quality 0
 ==

 Network, TCP stack all were up. It was pinging gateway even. But,
 traceroute
 was not going beyond gateway.

 I believe the issue is not related to anything outside server since a
 reboot
 always fixes the issue.

 I will be grateful for any advise that can help me in troubleshooting this
 problem.

 --
 Best Regards,
 Sherin
 ___
 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


 --

 regards,

 David Coder
 Network Engineer Emeritus, Verio/NTT
 Telluride, CO  Washington, DC

___
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: Strange network issue in freebsd 8

2010-01-23 Thread Sherin George
Hello,

Thanks for the reply.

Please see the rc.conf file given below.

===
myserver# cat /etc/rc.conf

defaultrouter=XXX.XXX.XXX.241
hostname=myserver.net
ifconfig_em0=inet XXX.XXX.XXX.242  netmask 255.255.255.248
nfs_client_enable=YES
nfs_server_enable=YES
rpcbind_enable=YES
sshd_enable=YES

zfs mount -a

inetd_enable=YES
==

Note: I have replaced first three octets.

--
Regards,
Sherin


On Sun, Jan 24, 2010 at 4:39 AM, Michael L. Squires mi...@siralan.orgwrote:

 I am using an em0 card with 7.2-STABLE, no problems.

 My guess is that there is something wrong with the ifconfig commands in
 rc.conf for the em0 card.  What do they look like?

 Mine are (DHCP via a Comcast cable modem)

 network_interfaces=fxp0 bge0 lo0
 hostname=familysquires.net
 ifconfig_fxp0=DHCP
 ifconfig_em0=inet 10.1.5.1  netmask 255.255.255.0
 gateway_enable=YES
 firewall_enable=YES
 firewall_type=simple
 natd_enable=YES
 natd_interface=fxp0
 natd_flags=
 # other

 For a system inside the firewall with a fixed IP I have

 defaultrouter=10.1.5.1
 ifconfig_em0=inet 10.1.5.160 netmask 255.255.255.0
 inetd_enable=YES

 (System 1 connects to outside via a cable modem (fxp0); the em0 interface
 connects to a gigabit switch.  System 2 is on the switch and uses System 1
 as its router).

 Mike Squires


___
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: Strange network issue in freebsd 8

2010-01-23 Thread Diego F. Arias R.
On Sat, Jan 23, 2010 at 10:01 PM, Sherin George l...@sheringeorge.co.ccwrote:

 Hello,

 Thanks for the reply.

 Please see the rc.conf file given below.

 ===
 myserver# cat /etc/rc.conf

 defaultrouter=XXX.XXX.XXX.241
 hostname=myserver.net
 ifconfig_em0=inet XXX.XXX.XXX.242  netmask 255.255.255.248
 nfs_client_enable=YES
 nfs_server_enable=YES
 rpcbind_enable=YES
 sshd_enable=YES

 zfs mount -a

 inetd_enable=YES
 ==

 Note: I have replaced first three octets.

 --
 Regards,
 Sherin


 On Sun, Jan 24, 2010 at 4:39 AM, Michael L. Squires mi...@siralan.org
 wrote:

  I am using an em0 card with 7.2-STABLE, no problems.
 
  My guess is that there is something wrong with the ifconfig commands in
  rc.conf for the em0 card.  What do they look like?
 
  Mine are (DHCP via a Comcast cable modem)
 
  network_interfaces=fxp0 bge0 lo0
  hostname=familysquires.net
  ifconfig_fxp0=DHCP
  ifconfig_em0=inet 10.1.5.1  netmask 255.255.255.0
  gateway_enable=YES
  firewall_enable=YES
  firewall_type=simple
  natd_enable=YES
  natd_interface=fxp0
  natd_flags=
  # other
 
  For a system inside the firewall with a fixed IP I have
 
  defaultrouter=10.1.5.1
  ifconfig_em0=inet 10.1.5.160 netmask 255.255.255.0
  inetd_enable=YES
 
  (System 1 connects to outside via a cable modem (fxp0); the em0 interface
  connects to a gigabit switch.  System 2 is on the switch and uses System
 1
  as its router).
 
  Mike Squires
 
 
 ___
 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


Hello there:

 i have one problem like that once with a motorolla cable-modem dont know
why the machine just lost network connection. The problemas was the cable
modem i can see the admin page of it but donde have internet. My ISP
change it after 3 months of tickets.

-- 
mmm, interesante.
___
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


ipnat dmz/internal network issue

2009-04-14 Thread Steve Krawcke

I have a gateway setup wing freebsd 7.1

gateway% uname -a
FreeBSD gateway.latcha.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0:  
Wed Feb  4 20:27:06 EST 2009 r...@gateway3.latcha.com:/usr/obj/usr/ 
src/sys/GATEWAY  amd64


I have 1 external nic , and 2 internal, one for a DMZ and one for the  
rest of the network


em0 is my external, em1 is my internal and em2 is my DMZ

I am using ipf and ipnat to get access to the internet, but I am  
having an issue.


I am able to get to the internet via nat on both em1 and em2.
I am able to get port/IP redriection working from em0 - em2
I can access the address space from em1 - em2
But if I go to one of the redirected IPs from em1 - em0 - em2 it  
fails.


here are my ipnat rules

map em1 from 10.75.0.1/24 to 10.73.0.1/16 - 0/0
map em1 from 65.173.238.2/32 to 10.73.0.1/16 - 0/0
map em0 from 10.73.0.1/16 to any - 65.173.238.2/32   portmap tcp/udp  
auto
map em0 from 10.75.0.1/24 to any - 65.173.238.2/32   portmap tcp/udp  
auto


rdr em0 from any to 65.173.238.27/32 port = 80 - 10.75.0.29 port 80 tcp
rdr em0 from any to 65.173.238.30/32 port = 80 - 10.75.0.30 port 80 tcp
rdr em0 from any to 65.173.238.29/32 port = 80 - 10.75.0.26 port 80 tcp

for now I have the firewall rules disabled, until I get this working,  
so I know it isn't a firewall issue.

Any help would be appreciated.

Steve K

___
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: ipnat dmz/internal network issue

2009-04-14 Thread Gary Gatten


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Steve Krawcke
Sent: Tuesday, April 14, 2009 12:08 PM
To: mail.list freebsd-questions
Subject: ipnat dmz/internal network issue

I have a gateway setup wing freebsd 7.1

gateway% uname -a
FreeBSD gateway.latcha.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0:  
Wed Feb  4 20:27:06 EST 2009 r...@gateway3.latcha.com:/usr/obj/usr/ 
src/sys/GATEWAY  amd64

I have 1 external nic , and 2 internal, one for a DMZ and one for the  
rest of the network

em0 is my external, em1 is my internal and em2 is my DMZ

I am using ipf and ipnat to get access to the internet, but I am  
having an issue.

I am able to get to the internet via nat on both em1 and em2.
I am able to get port/IP redriection working from em0 - em2
I can access the address space from em1 - em2
But if I go to one of the redirected IPs from em1 - em0 - em2 it  
fails.

here are my ipnat rules

map em1 from 10.75.0.1/24 to 10.73.0.1/16 - 0/0
map em1 from 65.173.238.2/32 to 10.73.0.1/16 - 0/0
map em0 from 10.73.0.1/16 to any - 65.173.238.2/32   portmap tcp/udp  
auto
map em0 from 10.75.0.1/24 to any - 65.173.238.2/32   portmap tcp/udp  
auto

rdr em0 from any to 65.173.238.27/32 port = 80 - 10.75.0.29 port 80 tcp
rdr em0 from any to 65.173.238.30/32 port = 80 - 10.75.0.30 port 80 tcp
rdr em0 from any to 65.173.238.29/32 port = 80 - 10.75.0.26 port 80 tcp

for now I have the firewall rules disabled, until I get this working,  
so I know it isn't a firewall issue.
Any help would be appreciated.

Steve K


You want to get to a public address that really exists on your DMZ
from your private LAN?  Why not connect to the DMZ addresses directly?
What you're trying to do is probably possible, but tricky in some cases
and not possible with some/many commercial firewalls.  I'll have to read
this a few more times and draw a pretty picture





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: one way network issue

2005-10-19 Thread Peter Clutton
On 10/19/05, Mohan Singh [EMAIL PROTECTED] wrote:
 On 10/18/05, Mohan Singh [EMAIL PROTECTED] wrote:
 To answer my own question, I didn't add a gateway for the subnet in
 question from this machine. Added it and everything is working now!
 Strange that it could go out into the subnet, but nothing could come
 in. *shrugs*

That's not strange at all. The default gateway for your other subnet
was obviously set, so you could get in. You had not set a default
gateway for that one, so you could not get out. It just means that
packets addressed to a subnet which doesn't match it's own, it doesn't
know what to do with it. This won't affect packets coming in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


one way network issue

2005-10-18 Thread Mohan Singh
I recently upgraded a FreeBSD box from 4.10 to 4.11 (nuke and install method).

The settings in /etc are identical to the way it was (I went over it
with vim -d to double check).

Externally (router/firewall, etc.), nothing has changed.

But on the new install of the machine, I cannot ping or access it from
a different subnet.

There is no firewall enable anywhere, and like I said, externally,
nothing has changed in terms of routing or anything like that.

What could be the matter?

I can get on from a different subnet by ssh'ing into a machine on the
same subnet of the upgraded box and then ssh'ing into the same box,
but I'd like to figure out what is the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: one way network issue

2005-10-18 Thread Glenn Dawson

At 03:47 PM 10/18/2005, Mohan Singh wrote:

I recently upgraded a FreeBSD box from 4.10 to 4.11 (nuke and install method).

The settings in /etc are identical to the way it was (I went over it
with vim -d to double check).

Externally (router/firewall, etc.), nothing has changed.

But on the new install of the machine, I cannot ping or access it from
a different subnet.

There is no firewall enable anywhere, and like I said, externally,
nothing has changed in terms of routing or anything like that.

What could be the matter?


Sounds like it doesn't know what it's default route is.

-Glenn



I can get on from a different subnet by ssh'ing into a machine on the
same subnet of the upgraded box and then ssh'ing into the same box,
but I'd like to figure out what is the problem.
___
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: one way network issue

2005-10-18 Thread Mohan Singh
On 10/18/05, Mohan Singh [EMAIL PROTECTED] wrote:
 But on the new install of the machine, I cannot ping or access it from
 a different subnet.

To answer my own question, I didn't add a gateway for the subnet in
question from this machine. Added it and everything is working now!

Strange that it could go out into the subnet, but nothing could come
in. *shrugs*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3-Stable network issue

2005-02-10 Thread Martin Minkus
I seem to have been having a rather strange networking issue in FreeBSD
5.3-Stable (it started happening immediately after 5.2.1 and has persisted
since.. I keep ³hoping² that next time I cvsup it will be fixed, but no).

I downgraded back to 5.2.1-p13 and it is perfectly fine once again.


*** Some background information:

My FreeBSD box is my home NAT router, server, firewall, etc. It does DHCP,
MX for some of my domains, secondary DNS (I got primary elsewhere), apache
for some webhosting, blah blah blah. Nothing really special. It is a Dual
PIII-500, 512mb ram, and a couple ATA hdd¹s. Had 3 realtek network
interfaces, but down to 2 now.

*** The problem:

Networking simply stops or locks up. Why, I don't know. I believe
initially it happened for all 3 network cards... I thought tcp/ip processing
or something in the kernel got locked. It happens every 30 minutes to an
hour, and lasts about 60 seconds to 120 seconds. Unfortunately, 60 seconds
to 120 seconds is long enough to kill messenger (my gf does not like),
online gaming, etc etc.

Lately, I had taken one of the realtek cards out (it was for a several km
long wireless link) and moved the server to my gf's place (where I am now
100% of the time). So now that I have the server locally and rely on it for
my internet connection, this has become a real PAIN.

I've noticed that I can remain ssh'd into diablo, do whatever I want while
this lock issue occurs. So the lan interface rl0 is fine. The internet
interface, rl1 (which goes to the cable modem) locks up. (btw, its not the
cable modem as I am using my gf's now, and it did this at my place on my
cable modem too, which is a different brand. Nortel at my place, motorola at
my gfs).

*** Attempts:

I've attempted switching out network cards, and places 3 other realtek cards
in. Different brands, all with different revisions (D instead of B, etc,
etc).

No matter what I try, nothing fixes it. The machine seems perfectly
repsonsive, and I am still ssh'd in and can do whatever I want on it... But
the network card going to the cable modem has stopped responding?!

This never happened during 5.0-Current all throughout 5.2.1-STABLE, but
anywhere beyond 5.2.1 it craps itself.


*** Dmesg output:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE-p13 #2: Thu Feb 10 18:39:33 CST 2005
[EMAIL PROTECTED]:/junk/obj/junk/src/sys/DIABLO
Preloaded elf kernel /boot/kernel/kernel at 0xc076c000.
MPTable: OEM0 PROD
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (504.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x673  Stepping = 3
  
Features=0x387fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 536870912 (512 MB)
avail memory = 516034560 (492 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdcf0
pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on
motherboard
pci0: PCI bus on pcib0
pci_cfgintr: 0:10 INTA BIOS irq 10
pci_cfgintr: 0:12 INTA BIOS irq 11
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xd000-0xd3ff
at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 0xf000-0xf00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xe000-0xe01f at
device 7.2 on pci0
pci_cfgintr: 0:7 INTD routed to irq 11
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piix0: PIIX Timecounter port 0x5000-0x500f at device 7.3 on pci0
Timecounter PIIX frequency 3579545 Hz quality 0
pci0: display, VGA at device 8.0 (no driver attached)
rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem
0xd700-0xd7ff irq 10 at device 10.0 on pci0
rl0: Ethernet address: 00:00:21:f2:a5:47
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: RealTek 8139 10/100BaseTX port 0xe800-0xe8ff mem
0xd7001000-0xd70010ff irq 11 at device 12.0 on pci0
rl1: Ethernet address: 00:40:f4:90:1c:4b
miibus1: MII bus on rl1
rlphy1: RealTek internal media interface on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: Option ROMs at iomem 0xc8000-0xcbfff,0xc-0xc7fff 

network issue

2003-02-13 Thread Brian Henning
My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40) and
BSD2 (192.168.1.42).
There is a third machine (192.168.1.254, ip address from isp) that acts as a
gateway router. When my internet connection goes down for whatever reason I
loose connections in my local network. For example, i can't ping 192.168.1.40
from 192.168.1.42. is there any explaination for this? is it because my default
route is set to be external?

Thanks,

Brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: network issue

2003-02-13 Thread Eric Six
What is your default gateway and subnet mask for your lan?

Cheers,
Eric Six

-Original Message-
From: Brian Henning [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:37 AM
To: freebsd
Subject: network issue


My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40)
and
BSD2 (192.168.1.42).
There is a third machine (192.168.1.254, ip address from isp) that acts as a
gateway router. When my internet connection goes down for whatever reason I
loose connections in my local network. For example, i can't ping
192.168.1.40
from 192.168.1.42. is there any explaination for this? is it because my
default
route is set to be external?

Thanks,

Brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue

2003-02-13 Thread Bill Moran
Brian Henning wrote:

My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40) and
BSD2 (192.168.1.42).
There is a third machine (192.168.1.254, ip address from isp) that acts as a
gateway router. When my internet connection goes down for whatever reason I
loose connections in my local network. For example, i can't ping 192.168.1.40
from 192.168.1.42. is there any explaination for this?


Can you give more details about the topology?  Does the gateway have 2 NICs?
I assume there's a hub on the inside?  Please post the output from ifconfig
on the gateway machine.


is it because my default
route is set to be external?


No, that doesn't normally cause problems to a local network.  When our Internet
goes down it doesn't affect internal traffic in the slightest. This is a rather
strange problem.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue

2003-02-13 Thread Nathan Kinkade
On Thu, Feb 13, 2003 at 11:36:47AM -0600, Brian Henning wrote:
 My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40) and
 BSD2 (192.168.1.42).
 There is a third machine (192.168.1.254, ip address from isp) that acts as a
 gateway router. When my internet connection goes down for whatever reason I
 loose connections in my local network. For example, i can't ping 192.168.1.40
 from 192.168.1.42. is there any explaination for this? is it because my default
 route is set to be external?
 
 Thanks,
 
 Brian

Are your two local machines simply connected by a hub/switch, or is
there some other setup?  What does your routing table look like - output
of `netstat -rn`.  Is there an entry that looks something like:
192.168.1link#1 UC  30   eth0

nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



msg19271/pgp0.pgp
Description: PGP signature


Re: network issue

2003-02-13 Thread Scott A. Moberly

 My local network (192.168.1.0) consists of two machine BSD1
 (192.168.1.40) and BSD2 (192.168.1.42).
 There is a third machine (192.168.1.254, ip address from isp) that acts
 as a gateway router. When my internet connection goes down for whatever
 reason I loose connections in my local network. For example, i can't
 ping 192.168.1.40 from 192.168.1.42. is there any explaination for this?
 is it because my default route is set to be external?

yup

might consider setting one (say bsd1) up as a firewall/natd machine and
then routing through that.  Adds expandability (and security of course :)
).

-- 
Scott A. Moberly
[EMAIL PROTECTED]

Turner's Definition
A fine is a tax for doing wrong.
A tax is a fine for doing well.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue revisited

2003-02-13 Thread Bill Moran
Brian Henning wrote:

Let me try again, here is my situation and question with a little more detail.

My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40) and

BSD2 (192.168.1.42). Both of these machines use the subnet mask 255.255.255.0
and gateway 192.168.1.254.

There is a third machine GATEWAY (192.168.1.254, ip address from isp) has two
nics and acts as the router.

All of these machine are connected to a switch locally.

When my internet connection goes down for whatever reason I
loose connections in my local network. For example, i can't ping 192.168.1.40
from 192.168.1.42. is there any explaination for this?


Not that I can think of.  There's no reason I can imagine that your local
connectivity should suffer from Internet problems.  Especially if you're
connecting via IP address (which rules out DNS problems).

Could you provide 'netstat -rn' and 'ifconfig' output from GATEWAY, please.
I don't see anything in the other information you provided that would
indicate any sort of misconfig on BSD2.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue revisited

2003-02-13 Thread Brian Henning
This is my router info.

rawhide ip addr show
1: lo: LOOPBACK,UP mtu 3924 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope global lo
2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:50:ba:b8:8c:2e brd ff:ff:ff:ff:ff:ff
inet 66.41.139.87/21 brd 255.255.255.255 scope global eth0
3: eth1: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:50:ba:ae:be:fa brd ff:ff:ff:ff:ff:ff
inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1

rawhide ip route show
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.254
66.41.136.0/21 dev eth0  proto kernel  scope link  src 66.41.139.87
default via 66.41.136.1 dev eth0

- Original Message -
From: Bill Moran [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 1:49 PM
Subject: Re: network issue revisited


 Brian Henning wrote:
  Let me try again, here is my situation and question with a little more
detail.
 
  My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40)
and
 
  BSD2 (192.168.1.42). Both of these machines use the subnet mask
255.255.255.0
  and gateway 192.168.1.254.
 
  There is a third machine GATEWAY (192.168.1.254, ip address from isp) has
two
  nics and acts as the router.
 
  All of these machine are connected to a switch locally.
 
  When my internet connection goes down for whatever reason I
  loose connections in my local network. For example, i can't ping
192.168.1.40
  from 192.168.1.42. is there any explaination for this?

 Not that I can think of.  There's no reason I can imagine that your local
 connectivity should suffer from Internet problems.  Especially if you're
 connecting via IP address (which rules out DNS problems).

 Could you provide 'netstat -rn' and 'ifconfig' output from GATEWAY, please.
 I don't see anything in the other information you provided that would
 indicate any sort of misconfig on BSD2.

 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue

2003-02-13 Thread northern snowfall
I'm guessing more than likely your DNS server is external to
your internal LAN and you don't have an internal DNS to
manage RFC1918 IPs. If this is the case, this is why pings will
*seem* to fail. They are trying to look up your internal addresses
(which will fail with an internet connection up fairly quickly)
but hang because there is no connection via your ISP to a
DNS server to respond no, there is no PTR for that A.
Get yourself an internal DNS and you should be ok
Don



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue revisited

2003-02-13 Thread northern snowfall
  (which rules out DNS problems). 

Not unless he does ping -n. If not, the A will still attempt
to be resolved.
Don






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue revisited

2003-02-13 Thread Bill Moran
Brian Henning wrote:

This is my router info.

rawhide ip addr show
1: lo: LOOPBACK,UP mtu 3924 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope global lo
2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:50:ba:b8:8c:2e brd ff:ff:ff:ff:ff:ff
inet 66.41.139.87/21 brd 255.255.255.255 scope global eth0
3: eth1: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:50:ba:ae:be:fa brd ff:ff:ff:ff:ff:ff
inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1


Linux box, eh?


rawhide ip route show
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.254
66.41.136.0/21 dev eth0  proto kernel  scope link  src 66.41.139.87
default via 66.41.136.1 dev eth0


Brian, I don't see anything here that looks wrong at all.  I assume
you have some sort of NAT software handling traffic between the two
interfaces, but I wouldn't normally expect that to cause problems if
the external interface is down.

I honestly can't imaging what could be causing the problems you
describe.  Hopefully, someone else will be able to look at this
and come up with something, but I'm stumped.

If you turn rawhide off (shut it down) can BSD1 ping BSD2?

Is the switch managed?  If so, make sure it's not blocking any
sort of broadcast traffic or the like.  Some of those (especially
older) managed switches can cause the strangest problems if they're
configured wrong.


- Original Message -
From: Bill Moran [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 1:49 PM
Subject: Re: network issue revisited




Brian Henning wrote:


Let me try again, here is my situation and question with a little more



detail.


My local network (192.168.1.0) consists of two machine BSD1 (192.168.1.40)



and


BSD2 (192.168.1.42). Both of these machines use the subnet mask



255.255.255.0


and gateway 192.168.1.254.

There is a third machine GATEWAY (192.168.1.254, ip address from isp) has



two


nics and acts as the router.

All of these machine are connected to a switch locally.

When my internet connection goes down for whatever reason I
loose connections in my local network. For example, i can't ping



192.168.1.40


from 192.168.1.42. is there any explaination for this?


Not that I can think of.  There's no reason I can imagine that your local
connectivity should suffer from Internet problems.  Especially if you're
connecting via IP address (which rules out DNS problems).

Could you provide 'netstat -rn' and 'ifconfig' output from GATEWAY, please.
I don't see anything in the other information you provided that would
indicate any sort of misconfig on BSD2.


--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue

2003-02-13 Thread Brian Henning
Ok, i am willing to try out the internal dns server but, i don't know which
machine to run it on.
Any suggestions?

- Original Message -
From: northern snowfall [EMAIL PROTECTED]
To: Brian Henning [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 2:11 PM
Subject: Re: network issue


 I'm guessing more than likely your DNS server is external to
 your internal LAN and you don't have an internal DNS to
 manage RFC1918 IPs. If this is the case, this is why pings will
 *seem* to fail. They are trying to look up your internal addresses
 (which will fail with an internet connection up fairly quickly)
 but hang because there is no connection via your ISP to a
 DNS server to respond no, there is no PTR for that A.
 Get yourself an internal DNS and you should be ok
 Don


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue

2003-02-13 Thread northern snowfall


Brian Henning wrote:


Ok, i am willing to try out the internal dns server but, i don't know which
machine to run it on.
Any suggestions?


Whichever box doesn't act as your most-used-workstation, or, the router
if its capable of running a server.
Don



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue revisited

2003-02-13 Thread Bill Moran
northern snowfall wrote:

  (which rules out DNS problems). 

Not unless he does ping -n. If not, the A will still attempt
to be resolved.
Don


Good point, I stand corrected.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue revisited

2003-02-13 Thread Nathan Kinkade
On Thu, Feb 13, 2003 at 03:33:57PM -0500, Bill Moran wrote:
 northern snowfall wrote:
   (which rules out DNS problems). 
 
 Not unless he does ping -n. If not, the A will still attempt
 to be resolved.
 Don
 
 Good point, I stand corrected.
 
 -- 
 Bill Moran

I must be missing something.  Don is right, the manpage clearly states
that the -n option sould supress symbolic name lookups, but no matter
how hard I try I cannot elicit a DNS query out of ping.  I run named on
my local network.  First, I pinged an IP address that I knew my system
would not have cached anywhere - no DNS lookup.  Then I disabled named
and tried again with a few new IP addresses - still no DNS queries.
Then I even went so far as to rename my hosts file.  At this point I
couldn't even ping 'localhost' by name.  Each time, the ping worked fine
and never once issued a DNS query - I was watching with ethereal.  Is
the manpage incorrect?

Further, the OP's gateway machine should have no effect whatsoever on his
ability to ping another machine directly connected to his switch.  This
problem is mighty strange.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



msg19341/pgp0.pgp
Description: PGP signature


network issue

2002-12-16 Thread Brian Henning
I just installed fbsd4.7 on my laptop. I used a lot of the default settings
like default security and the ssh. I had to add my PCMCIA NIC to the
pccard.conf so that my machine could be on the network. After doing so i
configured it and I was able to access the web and the other machines from
it. I then tried to ssh into the laptop from another machine on my network
and i get nothing. When i try to ping the same laptop from another machine
on my local network i get nothing.

[/usr/src/sys/i386/conf] ping 192.168.1.44
PING 192.168.1.44 (192.168.1.44): 56 data bytes
100 % packets lost.

i tried this from several other machines and get the same results.
Anyone have any advice? Something to look for?

thanks for any help,

brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: network issue

2002-12-16 Thread Edmond Baroud
Hi,

I'm kinda new to this list but I had the same problem when I've
upgraded from 4.5-release to 4.7-stable.

about the ping, I'm not sure if you have any f/w on ur network or
you've installed ipf by default try ipfstat or ipmon.
concerning ssh, make sure your hostname is configured correctly if ur
using a DNS, with the correct reverse, gethostbyname() will hang ssh
with no errors (from what I've seen) if your IP has different dns
entries or wrong reverse hostnames..

hope this helps u get somehwere,

Ed.

Quoting Brian Henning ([EMAIL PROTECTED]):
 I just installed fbsd4.7 on my laptop. I used a lot of the default settings
 like default security and the ssh. I had to add my PCMCIA NIC to the
 pccard.conf so that my machine could be on the network. After doing so i
 configured it and I was able to access the web and the other machines from
 it. I then tried to ssh into the laptop from another machine on my network
 and i get nothing. When i try to ping the same laptop from another machine
 on my local network i get nothing.
 
 [/usr/src/sys/i386/conf] ping 192.168.1.44
 PING 192.168.1.44 (192.168.1.44): 56 data bytes
 100 % packets lost.
 
 i tried this from several other machines and get the same results.
 Anyone have any advice? Something to look for?
 
 thanks for any help,
 
 brian
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Edmond Baroud  Mobile: 1.514.999.8777
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Microcell Telecom  http://www.microcell.ca/
I.Fido Serviceshttp://www.fido.ca/
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message