Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jonic on October 28, 2006, 03:03:23 PM
-
I have the folowing setup: Internet -> Slackare Server -> SME Server -> local network.
I have from my ISP a public IP 82.76.x.x, and a public subnet 82.78.71.136/255.255.255.248.
On the slacware server I have two network cards, and I set up on the first (which is connected to the ISP modem) the ip 82.76.x.x, and on the second (wich is connected to the SME server) the ip 82.76.71.136 / 255.255.255.248, ip-routing is on, and no firewall.
SME server runs in server and gateway mode.
I set up the SME external network with 82.78.71.137/255.255.255.248 and gateway 82.78.71.136.
If I ping 82.78.71.136 I get a message: do you want to ping broadcast? (my broadcast is 82.78.71.143). If I ping with -b it works, but I cannot ping anything on the net.
Then I replaced the SME machine with a WinXP SP2 one. Doing the same configurations as on SME, I was able to ping 82.78.71.136 normally, but I could not get on the net. As soon as I changed the gateway from 82.78.71.136 to 82.76.x.x(my primary ip on slackware server) everything worked (I was able to ping the internet from my WinXP machine, and the WinXP from internet).
I then procedeed to do the same settings on the SME Server (ext ip : 82.78.71.136/255.255.255.248, gateway 82.76.x.x), and surprise! Nothing worked. I wasn't able to ping anything, not even 82.76.x.x, or 82.78.71.136.
Any ideas how I have to set up SME to get it online?
I should mention that I really need to keep the slackware server, due to some application that run on it.
Thanks,
Ion
-
82.76.71.136 with a subnet mask of 255.255.255.248 is a network address, and cannot be used as a host address.
Try making the internal slackware NIC 82.76.71.137 and the SME WAN NIC 82.76.71.138...
A subnet mask of 255.255.255.248 gives you 8 possible IP addresses, of which only 5 can be used by computers. The bottom address is the network address, the top address is the broadcast address, and you have to use one of the 6 remaining addresses as the "default gateway" for the other 5.
-
Thank you, you really saved me.
I was having two problems actually : my poor understanding of the TCP/IP, and a bad NIC on the SME server. That's why some things worked on the XP machine, and not on SME.
Again, thank you :) .