From owner-freebsd-questions Wed Oct 3 12:17:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by hub.freebsd.org (Postfix) with ESMTP id 6617737B403 for ; Wed, 3 Oct 2001 12:17:43 -0700 (PDT) Received: from [195.20.224.209] (helo=mrvdom02.schlund.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 15orWU-0000lb-00; Wed, 3 Oct 2001 21:17:38 +0200 Received: from pd950c7ab.dip.t-dialin.net ([217.80.199.171]) by mrvdom02.schlund.de with esmtp (Exim 2.12 #2) id 15orWT-00009Y-00; Wed, 3 Oct 2001 21:17:38 +0200 Date: Wed, 3 Oct 2001 19:16:58 +0000 (GMT) From: "P. U. (Uli) Kruppa" X-X-Sender: To: Arpith Jacob Cc: Subject: Re: [newbie]: Networking problems In-Reply-To: Message-ID: <20011003191514.N2964-100000@big> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Arpith, On Wed, 3 Oct 2001, Arpith Jacob wrote: > > Hello, > > I'm new to the unix environment and am trying to get a home network running. > I am connecting two computers a p3 (redhat linux) and a p1 (freebsd 4.1). > Unfortunately, things aren't working quite as they should :-) Help would be > greatly appreciated. > > I have setup networking on both the computers, I don't have a firewall on > the linux machine either. > > I can ping the p3 (or even ftp/telnet into it) from the freebsd machine. > However, I cannot even ping the p1 box from the linux machine. Any idea what > the problem could be? Have a look at p1's /etc/inetd.conf . Are ftp and telnet uncommented? Uli. > > Is it a problem with a firewall that I may have on the freebsd machine? How > can I disable it and allow all connections? Why can't I ping the freebsd > machine from the linux machine? Do I have to change something on the freebsd > machine? How can I allow pings? > > Here is the output of netstat -rn AND ifconfig on both the machines. > > > Linux Box (P3): > > eth0 Link encap:Ethernet HWaddr 00:00:E8:00:61:02 > inet addr:172.25.2.1 Bcast:172.25.2.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:798 errors:0 dropped:0 overruns:0 frame:0 > TX packets:561 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:5 Base address:0xcc00 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:668 errors:0 dropped:0 overruns:0 frame:0 > TX packets:668 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt > Iface > 172.25.2.0 0.0.0.0 255.255.255.0 U 40 0 0 > eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo > > > > FreeBSD Box (P1): > > Routing tables > > Internet: > Destination Gateway Flags Netif Expire > default 172.25.2.1 UGSc 1 15 ed0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 172.25.2/24 link#1 UC 0 0 ed0 => > 172.25.2.1 0:0:e8:0:61:2 UHLW 3 153 ed0 1056 > > Internet6: > Destination Gateway Flags > Netif Expire > ::1 ::1 UH > lo0 > fe80::%ed0/64 link#1 UC > ed0 > fe80::%lo0/64 fe80::1%lo0 Uc > lo0 > ff01::/32 ::1 U > lo0 > ff02::%ed0/32 link#1 UC > ed0 > ff02::%lo0/32 fe80::1%lo0 UC > lo0 > > > ed0: flags=8843 mtu 1500 > inet 172.25.2.2 netmask 0xffffff00 broadcast 172.25.2.255 > inet6 fe80::e891:f9bc:b7ac:487d%ed0 prefixlen 64 scopeid 0x1 > ether a5:a5:a5:a5:a5:a5 > sl0: flags=c010 mtu 552 > ppp0: flags=8010 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > gif0: flags=8010 mtu 1280 > gif1: flags=8010 mtu 1280 > gif2: flags=8010 mtu 1280 > gif3: flags=8010 mtu 1280 > faith0: flags=8000 mtu 1500 > > Thank you very much, > Arpith > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ************************************ * P. U. Kruppa - Wuppertal * * Germany * * www.pukruppa.de www.2000d.de * ************************************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message