Re: Internet 2
Hello, DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 I don't see a default route anywhere in there. Add one with 'route add default IP_OF_THE_GATEWAY. Without a default gateway you won't be able to reach anything for which there is not a specific entry in the routing table. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet 2
Yes there is one, the first line is not : Razor 12.103.21.1 UGSc 2 105rl0 but : Default12.103.21.1 UGSc 2 105rl0 Sorry about that ! But it was a very long text to copy ! I don't see a default route. 'netstat -rn' should return a first line like: default 12.103.21.1 -- The meek will inherit the earth; the rest of us will go to the stars. Atom Powers Pyramid Brewery 206.682.8322 x251 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RazorOnFreeBSD Sent: Thursday, April 08, 2004 4:34 AM To: [EMAIL PROTECTED] Subject: Internet 2 Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me And I now have those outputs and conf file to go with : Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 -- ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83 -- hosts : ::1localhost localhost.my.domain 127.0.0.1localhost localhost.my.domain 192.168.1.1Razor.my.domain Razor 192.168.1.15 razor_work.my.domainrazor_work 192.168.1.16 Kitty.my.domain Kitty -- rc.conf : defaultrouter=12.103.21.1 gateway_enable=YEShostname=Razor
Re: Internet 2
Are you sure about that ? Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as 100MBits/s. I don't know why but it works with Windows. - Original Message - From: Peter Giessel [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 7:50 PM Subject: Re: Internet 2 switch your dc and rl in your rc.conf. your ifconfig shows that dc0 is plugged into your DSL (media: Ethernet autoselect (10baseT/UTP)), so your rc.conf should read: ifconfig_dc0=inet 12.103.21.x netmask 255.255.255.0 ifconfig_rl0=inet 192.168.1.1 netmask 255.255.255.0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet 2
There is one way to tell for sure. Unplug your lan then run ifconfig -a again and see which one is no longer active. status on whichever interface is plugged into the lan should change from active to no carrier. On Thursday, April 08, 2004, at 04:58AM, RazorOnFreeBSD [EMAIL PROTECTED] wrote: Are you sure about that ? Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as 100MBits/s. I don't know why but it works with Windows. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet 2
I did that already and rl0 is my Internet NIC for what I saw. Thank you for helping so. - Original Message - From: Peter Giessel [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 8:32 PM Subject: Re: Internet 2 There is one way to tell for sure. Unplug your lan then run ifconfig -a again and see which one is no longer active. status on whichever interface is plugged into the lan should change from active to no carrier. On Thursday, April 08, 2004, at 04:58AM, RazorOnFreeBSD [EMAIL PROTECTED] wrote: Are you sure about that ? Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as 100MBits/s. I don't know why but it works with Windows. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Internet 2
You state. I have DSL and my ISP is ATT, I have a static IP which means I don't need to run PPP to connect. That is not true for 4.9 and I have not read anything which changes that for 5.x. Is 5.1 an buildworld to existing system where your setup worked previously? or install from scratch using cdrom? Explain. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of RazorOnFreeBSD Sent: Thursday, April 08, 2004 7:34 AM To: [EMAIL PROTECTED] Subject: Internet 2 Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me And I now have those outputs and conf file to go with : Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 -- ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83 -- hosts : ::1localhost localhost.my.domain 127.0.0.1localhost localhost.my.domain 192.168.1.1Razor.my.domain Razor 192.168.1.15 razor_work.my.domainrazor_work 192.168.1.16 Kitty.my.domain Kitty -- rc.conf : defaultrouter=12.103.21.1 gateway_enable=YEShostname=Razor ifconfig_rl0=inet 12.103.21.x netmask 255.255.255.0 ifconfig_dc0=inet 192.168.1.1 netmask 255.255.255.0 inetd_enable=NO kern_securelevel=2 kern_securelevel_enable=NO # I did that because it was required to rebuild the kernel up to a website keymap=fr.iso.acc
Re: Internet 2
The hotline guy told me exactly those words... for sure I don't know if he right or not but what I'm sure is that I don't use PPP with windows and the same connection. But I installed the 5.1 from scratch And I tried to follow the steps from a FreeBSD book and from official websites for the network then. So as you can see I'm a lost newbie And I really need this gateway :s - Original Message - From: JJB [EMAIL PROTECTED] To: RazorOnFreeBSD [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 8:40 PM Subject: RE: Internet 2 You state. I have DSL and my ISP is ATT, I have a static IP which means I don't need to run PPP to connect. That is not true for 4.9 and I have not read anything which changes that for 5.x. Is 5.1 an buildworld to existing system where your setup worked previously? or install from scratch using cdrom? Explain. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of RazorOnFreeBSD Sent: Thursday, April 08, 2004 7:34 AM To: [EMAIL PROTECTED] Subject: Internet 2 Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web I have setup a firewall_type=OPEN because i'm still testing but I also setup natd and gateway variables in the rc.conf file to what is needed up to majority of websites about firewall and gateways with Freebsd. I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. One more thing I think I didn't use the Domain variable when I set up the NIC from sysinstall don't know if it's important! Well I don't understand why it doesn't work The tech guy from att hotline told me it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S Please somebody help me And I now have those outputs and conf file to go with : Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 -- ifconfig outputs : rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255 inet6 ... ether ... media: Ethernet autoselect (100baseTX full duplex) status: Active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 ... ether ... media: Ethernet autoselect (10baseT/UTP) status: Active -- resolv.conf : domainRazor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83
Re: Internet 2
JJB wrote: You state. I have DSL and my ISP is ATT, I have a static IP which means I don't need to run PPP to connect. That is not true for 4.9 and I have not read anything which changes that for 5.x. This doesn't have anything to do with the version of FreeBSD he is running. I assume from the fact that he connects with an ethernet cable that he is using a dsl modem/router which negotiates the connection and if necessary will be running ppp. In that case, there is no need for him to run ppp. Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. No, that means you don't have to run dhcp client. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web Yes, ping is possible under unix. Try pinging a known numeric ip address first. If that doesn't work, you have a routing/connectivity problem. If it does, and you can't then ping a hostname like www.yahoo.com, you'd want to check your nameservers listed in /etc/resolv.conf To start with, assuming that 12.103.21.1 is your dsl router (and it needs to be for your configuration to have any chance of working), can you ping that? Next, can you ping, say, 12.127.16.83? I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. I don't know what this means. Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 There's no default route. You can try setting one explicitly on the command line but you really want a solution that will survive reboots. If you've been mucking about with ifconfig type statements, try a reboot to clear the air, then the ping tests (numeric ip of router - numeric ip of nameserver - hostname). I would also recommend you set a proper hostname in /etc/rc.conf - preferably a real one... PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Internet 2
Peter Risdon wrote: snipped all because it's not relevant in my reply He also mentioned that with arp -n -a the ip adres of the gateway (which is defined) has no mac adres. So there could be filtering or something in the way that prevents you from accessing the mac adres of the router. tcpdump -i your external if do you see any traffic going in and out of that thingy? -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Internet 2
Well I don't know where you get your info from, but all the members of my local FBSD club who use ATT DSL have to use pppoe and dhclient to connect their FBSD boxes to get working connection. ATT assigns static ip address to DSL dummy modem and MS/XP does it's own internal thing to get ppp connection. All the symptoms stated by Razor seem to indicate your assumption is wrong by miles. He can not reach public internet because he has no connection. Adding hard coded ifconfig statements to rc.conf will not change that fact or how his DSL modem is working. And besides nobody picked up on his hostname= is wrong also, has to be FQDN. Razor, first thing you do on new virgin install is to ping to public internet site like Freebsd.org to verify you have internet connection before you start adding firewall or ports. Your second mistake was to install 5.x which is intended for users who can debug kernel code. You are in way over your head. All the 5.x releases are full of development bugs and you are experienced enough to debug them. If I was you I would blow away the FBSD system you have installed and re-stall using the 4.9 stable production version. Why fight the development bugs in 5.x? -Original Message- From: Peter Risdon [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 3:20 PM To: [EMAIL PROTECTED] Cc: RazorOnFreeBSD; [EMAIL PROTECTED] Subject: Re: Internet 2 JJB wrote: You state. I have DSL and my ISP is ATT, I have a static IP which means I don't need to run PPP to connect. That is not true for 4.9 and I have not read anything which changes that for 5.x. This doesn't have anything to do with the version of FreeBSD he is running. I assume from the fact that he connects with an ethernet cable that he is using a dsl modem/router which negotiates the connection and if necessary will be running ppp. In that case, there is no need for him to run ppp. Hi everyone, I bring an old post again because I have now more information to give this. My post was this one : --- - --- - I just setup a freebsd box with the 5.1 release to be a gateway/firewall. The installation was smooth and to setup the gateway/firewall with nat a lot of sources are available on Internet. Here is my problem, I can't connect to Internet from the Freebsd box. I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP to connect. No, that means you don't have to run dhcp client. FreeBSD Internet NIC is : 12.103.21.x When I type ifconfig my NIC looks fine, up and running : rl0 : 12.103.21.x For information the freebsd box contains 2 NIC's one for Internet the other for the LAN (192.168.1.1) If I ping myself no problem everything's fine, but I can't ping a web address. I don't know if it is possible under unix but I use to ping www.yahoo.com for example to know if it's well connected. But the best proof is when I try to install samba my freebsd gives a time out reaching the samba server on the web Yes, ping is possible under unix. Try pinging a known numeric ip address first. If that doesn't work, you have a routing/connectivity problem. If it does, and you can't then ping a hostname like www.yahoo.com, you'd want to check your nameservers listed in /etc/resolv.conf To start with, assuming that 12.103.21.1 is your dsl router (and it needs to be for your configuration to have any chance of working), can you ping that? Next, can you ping, say, 12.127.16.83? I also rebuilt the kernel up to those websites wich was fine, and I created a natd.conf file. I don't know what this means. Here is my netstat -r output : DestGatewayFlags Refs Use Netif Razor 12.103.21.1 UGSc 2 105rl0 12.103.21/24 link#1 UC 1 0rl0 12.103.21.1 link#1 UHLW 3 2rl0 localhost localhost UH 0 0lo0 192.168.1link#2 UC 1 0dc0 kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0 dc0 There's no default route. You can try setting one explicitly on the command line but you really want a solution that will survive reboots. If you've been mucking about with ifconfig type statements, try a reboot to clear the air, then the ping tests (numeric ip of router - numeric ip of nameserver - hostname). I would also recommend you set a proper hostname in /etc/rc.conf - preferably a real one... PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL