From owner-freebsd-questions Thu Jan 14 15:32:35 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA01564 for freebsd-questions-outgoing; Thu, 14 Jan 1999 15:32:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from presley.cybertrails.com (presley.cybertrails.com [162.42.150.35]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA01553 for ; Thu, 14 Jan 1999 15:32:34 -0800 (PST) (envelope-from kf7nn1@cybertrails.com) Received: (qmail 7639 invoked from network); 14 Jan 1999 23:30:01 -0000 Received: from unknown (HELO ginger) (162.42.132.12) by presley.cybertrails.com with SMTP; 14 Jan 1999 23:30:01 -0000 Message-ID: <004e01be4016$00849660$0300a8c0@ginger.kf7nn.com> From: "george vagner" To: Subject: 2 network cards Date: Thu, 14 Jan 1999 16:31:23 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently got a cable modem and it is wired into a dlink ethernet card, a win 98 machine needs to access the net so i installed another dlink card and used a crossover cable to run to the win98 machine. the one network card is at 24.1.216.237 with a netmask of 255.255.252.0 and the other connected to the win98 machine is at 192.168.0.1 with netmask of 255.255.255.0. I am having trouble geting the win98 machine to use the freebsd 2.2.7 machine as a gateway. i can ping the freebsd machine from the win98 machine but nothing on the net. I can access the net fine with the freebsd machine. here is my output of netstat -rn . can you look at this and tell me what i need to do in order to make the freebsd machine ast as a gateway. I have done this before with other machines but never with 2 network cards. Please? www# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 24.1.216.1 UGSc 10 326 ed1 24.1.216/22 link#1 UC 0 0 24.1.216.1 0:e0:34:4b:b0:0 UHLW 9 0 ed1 1042 24.1.216.237 0:80:c8:c1:3f:45 UHLW 1 168 lo0 24.1.218.126 link#1 UHLW 1 4 127.0.0.1 127.0.0.1 UH 0 3 lo0 192.168 link#2 UC 0 0 192.168.0.2 0:60:8:e0:6e:4b UHLW 0 5 ed2 1176 www# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message