Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2006 03:46:53 -0800 (PST)
From:      Danial Thom <danial_thom@yahoo.com>
To:        Ian Barnes <ian@cerebellum.za.net>, bob@a1poweruser.com, freebsd-questions@freebsd.org
Subject:   RE: Ethernet Stopping Problem
Message-ID:  <20060216114653.68094.qmail@web33306.mail.mud.yahoo.com>
In-Reply-To: <00a701c632b9$1e5540c0$6400000a@ianb>

next in thread | previous in thread | raw e-mail | index | archive | help
could also be a ppp keepalive problem. As they
say in the open source world "you have the
source, so trace it out". You're just wasting
time blabbering about it. 

--- Ian Barnes <ian@cerebellum.za.net> wrote:

> Hi,
> 
> Here might be a better drawing (possibly)
> 
> Router (10.0.0.2)
> 	|
> 	|	
> FreeBSD Gateway (10.0.0.1)
> 	|
> 	|
> Switch (10/100)
> 	|
> -------------------------	(10.0.1.0/24)
> |		|		|
> Laptop	Desktop	Wireless AP
> 
> 
> The router is in bridge mode and my FreeBSD box
> gets its tun0 IP from DHCP
> from the ISP through pppoe. The 10.0.0.1 is a
> static address and all the
> machines (excluding the wireless), are dhcp in
> the 10.0.1.0/24 range.
> 
> I removed the read IP addresses from the post,
> I replaced them with x.x.x. I
> howevere don't feel that the PPP is the problem
> because it is working for
> about 5-10 minutes. Then everything stops
> working. Like an ARP problem. Cant
> explain why I would have an arp problem though.
> I am not trying to configure
> ppp as that works fine, its just that the
> network stops working after 5-10
> minutes that its already working.
> 
> Cheers
> Ian
> 
> -----Original Message-----
> From: bob@a1poweruser.com
> [mailto:bob@a1poweruser.com] 
> Sent: 16 February 2006 01:53 AM
> To: Ian Barnes; freebsd-questions@freebsd.org
> Subject: RE: Ethernet Stopping Problem
> 
> Need more background info.
> Explain where you are getting the public
> non-routable 10.0.0.0 ip
> address from.
> You say the ADSL router is using them.
> Did you edit your real ip address to hide then
> from this public
> post?
> Also you have to post your ppp.conf file.
> Are you trying to configure PPPoe?
> 
> 
> 
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On
> Behalf Of Ian Barnes
> Sent: Wednesday, February 15, 2006 5:47 PM
> To: freebsd-questions@freebsd.org
> Subject: Ethernet Stopping Problem
> 
> 
> Hi,
> 
> I have a freebsd 5.2 box setup as my gateway
> for my home network.
> The
> network is layed out as follows:
> 
> FreeBSD Gateway - 10.0.0.1/16
> ADSL Router - 10.0.0.2/16
> 
> DHCP Network - 10.0.1.0 - 10.0.1.254 all /16
> with default gateway as
> .1
> 
> I have ppp enabled on the freebsd unit, and it
> connects fine and
> then
> everything works perfectly for anything between
> 5 and 10 minutes. At
> this
> stage, the freebsd machine cant get to the
> 10.0.1.0 network anymore.
> It can
> still ping 10.0.0.2 fine and its connection to
> the internet remains
> perfect.
> It just wont let anyone else come in from
> anywhere else on the
> network. It
> kills all SSH sessions, web sessions etc. I
> replaced the ifac card
> with an
> ed0 card, and also replaced cables and the
> switch in between.
> 
> The card in question is both a dc0 and an ed0
> card which I have
> swapped into
> another PCI port and it still does the same
> thing there. Below is an
> ifconfig:
> 
> ed0:
>
flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
> mtu 1500
>         inet 10.0.0.1 netmask 0xffff0000
> broadcast 10.0.255.255
>         ether 00:c0:df:fa:b8:74
> plip0:
> flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu
> 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>
> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> tun0:
> flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>
> mtu 1492
>         inet 165.x.x.x --> 165.x.x.x netmask
> 0xffffffff
>         Opened by PID 218
> [root@gateway] ~ #
> 
> 
> Here is a rc.conf:
> [root@gateway] ~ # cat /etc/rc.conf
> defaultrouter="10.0.0.2"
> hostname="gateway.domain.local"
> ifconfig_ed0="inet 10.0.0.1 netmask
> 255.255.0.0"
> saver="logo"
> sshd_enable="NO"
> usbd_enable="YES"
> blanktime="3600"
> apache2_enable="YES"
> mysql_enable="YES"
> sendmail_enable="NONE"
> gateway_enable="YES"
> inetd_enable="NO"
> kern_securelevel_enable="NO"
> ppp_enable="YES"
> ppp_nat="YES"
> ppp_mode="ddial"
> ppp_profile="dsl1"
> dhcpd_enable="YES"
> dhcpd_flags="-q"
> dhcpd_conf="/usr/local/etc/dhcpd.conf"
> dhcpd_ifaces="ed0"
> [root@gateway] ~ #
> 
> 
> I don't have any sysctl rules in place, and
> everything else about
> this unit
> is standard.
> 
> I am not running a firewall at this stage and
> was just wondering
> what the
> cause of this problem could be?
> 
> Cheers
> Ian
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060216114653.68094.qmail>