[newbie] networking - I can get into my box but not back out
Hi - I just installed mandrake 7.1 on a new box. I am trying to duplicate a box that died last week and reusing the same server name and IP address. But I clearly have something set wrong. I can see this new box from the network and I can telnet and ftp in to it, but I can't get out to the network when I'm on it. I have a PC plugged in to the same subnet, and I used the same subnet mask on the linux box that is used for the PC. but on the PC I have a default gateway, I put this in as the default gateway on the linux box as well. I guess I'm missing the broadcast address? any ideas on how I would determine what that should be? thanks - Ebeth Jones Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] networking - I can get into my box but not back out
Elizabeth Jones wrote: Hi - I just installed mandrake 7.1 on a new box. I am trying to duplicate a box that died last week and reusing the same server name and IP address. But I clearly have something set wrong. I can see this new box from the network and I can telnet and ftp in to it, but I can't get out to the network when I'm on it. I have a PC plugged in to the same subnet, and I used the same subnet mask on the linux box that is used for the PC. but on the PC I have a default gateway, I put this in as the default gateway on the linux box as well. I guess I'm missing the broadcast address? any ideas on how I would determine what that should be? I'm a Linux newbie, also, but I'd try: * pinging the gateway by ip address (from the new box) * pinging something on the Internet by domain name If the first works and the second doesn't, I'd suspect that your DNS server addresses are not set (in the new PC). Re: Broadcast address -- tell us the ip and subnet mask on the new box -- IIRC, the broadcast address is (in complicated terms) the ip address of the new box, masked by its netmask, and everything in the netmask replaced by binary ones (or is it zeros). If you tell us the ip and subnet mask, I or someone else can tell you the broadcast address. Randy Kramer Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] networking - I can get into my box but not back out
On Mon, 04 Feb 2002, Gerald Waugh wrote: On Mon, 04 Feb 2002, Elizabeth Jones wrote: %_Hi - I just installed mandrake 7.1 on a new box. I am trying to duplicate a box that died last week and reusing the same server name and IP address. But I clearly have something set wrong. I can see this new box from the network and I can telnet and ftp in to it, but I can't get out to the network when I'm on it. I have a PC plugged in to the same subnet, and I used the same subnet mask on the linux box that is used for the PC. but on the PC I have a default gateway, I put this in as the default gateway on the linux box as well. I guess I'm missing the broadcast address? any ideas on how I would determine what that should be? It would be the highest address in the subnet. for instance 192.168.1.255 do an 'ifconfig' and post the output. also do a route -n and post the output. Then maybe someone can help. -- Gerald Waugh Registered Linux User 255245 register at http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] networking - I can get into my box but not back out
This worked, I changed the broadcast address as Gerald said and now it is working. Thanks alot! On Mon, 04 Feb 2002, Gerald Waugh wrote: On Mon, 04 Feb 2002, Elizabeth Jones wrote: %_Hi - I just installed mandrake 7.1 on a new box. I am trying to duplicate a box that died last week and reusing the same server name and IP address. But I clearly have something set wrong. I can see this new box from the network and I can telnet and ftp in to it, but I can't get out to the network when I'm on it. I have a PC plugged in to the same subnet, and I used the same subnet mask on the linux box that is used for the PC. but on the PC I have a default gateway, I put this in as the default gateway on the linux box as well. I guess I'm missing the broadcast address? any ideas on how I would determine what that should be? It would be the highest address in the subnet. for instance 192.168.1.255 -- Gerald Waugh Registered Linux User 255245 register at http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] networking - I can get into my box but not back out
Elizabeth Jones wrote: Hi - I just installed mandrake 7.1 on a new box. I am trying to duplicate a box that died last week and reusing the same server name and IP address. But I clearly have something set wrong. I can see this new box from the network and I can telnet and ftp in to it, but I can't get out to the network when I'm on it. I have a PC plugged in to the same subnet, and I used the same subnet mask on the linux box that is used for the PC. but on the PC I have a default gateway, I put this in as the default gateway on the linux box as well. I guess I'm missing the broadcast address? any ideas on how I would determine what that should be? thanks - Ebeth Jones Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Ummm, maybe you could tell us a bit more about your network/internet connection? /etc/sysconfig/network and /etc/resolv.conf contents would also be helpful You can put them to a file by putting in a floppy disk (dos formatted) cat /etc/resolv.conf somefilename cat /etc/sysconfig/network samefilename cp somefilename /mnt/floppy then you can send us the info by copying it to your windows machine and pasting it into your email. Civileme Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com