From owner-freebsd-questions Fri Feb 22 16:20:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web12004.mail.yahoo.com (web12004.mail.yahoo.com [216.136.172.212]) by hub.freebsd.org (Postfix) with SMTP id 0BD6B37B404 for ; Fri, 22 Feb 2002 16:20:02 -0800 (PST) Message-ID: <20020223002001.30135.qmail@web12004.mail.yahoo.com> Received: from [165.228.7.207] by web12004.mail.yahoo.com via HTTP; Sat, 23 Feb 2002 11:20:01 EST Date: Sat, 23 Feb 2002 11:20:01 +1100 (EST) From: =?iso-8859-1?q?Keith=20Spencer?= Subject: Help Help Help( with routes!)..I thought I knew what I was doing. To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 all, We are a school using Freebsd. I am in desperate need of help with routing. I have recently had to make changes becuse ISP folded. I had 2 ISPs with corresponding gateways. Reason being that ADSL was dynamic IP... LAN->Gateway1(via NAT)->ADSL->Telstra(ISP) AND LAN->Gateway2(via NAT)->ISDN->Other(ISP) Gateway1 is multi-homed 192.168.1.220 203.56.180.4 has squid proxy running on it. It has a dynamic ADSL interface IP to Telstra. Gateway2 is multi-homed 192.168.1.1 203.56.180.1 Is the DNS web and mail server. Our Domain = smmc.qld.edu.au currently mapped to 203.56.180.0 -> 203.56.180.255 All worked fine until these changes made were... Gateway1 ----------------------------------------------- No changes to this Gateway except NOW it has a static ADSL link IP and Telstra have added our 203.56.180 routes. Here are the the gateway2 routes after a reboot: Dest Gateway Flags Refs Use Netif Exp default 165.228.7.1 UGSc 9 484 tun0 127.0.0.1 127.0.0.1 UH 20 53 lo0 165.228.7.1 165.228.7.207 UH 9 0 tun0 192.168.1 link#1 UC 4 0 fxp0 => 192.168.1.1 0:c0:f0:14:f7:dc UHLW 1 37 fxp0 868 192.168.1.220 0:3:47:70:3e:11 UHLW 0 2 lo0 203.56.180 link#1 UC 1 0 fxp0 => 203.56.180.1 0:c0:f0:14:f7:dc UHLW 0 82 fxp0 604 ----------------------------------------------- Gateway2 ------------------------------------------------ ISDN connection died when ISP did so I changed rc.conf defaultRouter=203.56.180.4 gateway_enable="no" PPP was disabled after a reboot here are the routes Dest Gate Flags Refs Use Netif Expire default 203.56.180.4 UGSc 46 447 de0 127.0.0.1 127.0.0.1 UH 0 80 lo0 192.168.1 link#1 UC 0 0 de0 => 203.56.180 link#1 UC 0 0 de0 => Question..Maybe defaultgateway should be 192.168.1.220? ------------------------------------------------ Symptoms: 1)DNS is working inside lan 2)Can't ping 203.56.180.0/24 addresses from the outside Internet. More particularly the mail & web servers are not pinging. 3) Lan can web surf no trouble 4) Sendmail cannot deliver mail outbound. 5) Cannot ping outside to any Internet address from any live IP machine on the LAN more particularly 203.56.180.1(This will explain the sendmail's failure to work I suppose) 6) A mail client on a multihomed lan host here is configured to pick up mail from a remote mail host on the net. It can do that!!!??? None of my stuff works but this does...do not understand. What I tried... Stopping NAT & squid on ADSL gateway1 Pinging out and mailing to/from old gateway2. No go! HELP...fresh out of ideas here. CAn some kind person help out? It is probably really obvious but not to this dummy Thanks http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message