Koozali.org: home of the SME Server

ADSL

matthew

ADSL
« on: May 15, 2003, 08:14:22 PM »
ok i have just had an ADSL modem connected on my mitel server
it uses pppoe, and i set it up all correctly but the other computers on the network wont connect through it via the server.
if i run winipcfg on win98 in gives me a totally different host name than the i set on the server.
could it be possible the modem is not compatible?
the idea i had is for the server to connect with the adsl and to mantain the connect.... any idea's on this

thanks

matthew

Re: ADSL
« Reply #1 on: May 15, 2003, 08:55:13 PM »
ok let me make my self clearer... the adsl router has its own ip address, does the server need to have its own address or the same as the router?
is there a way to install other drivers?
it an external router that is connected to the switch and then to the server.
wont this be a problem? does the router have to be physically on the server to work properly?
help please

steve

Re: ADSL
« Reply #2 on: May 15, 2003, 09:52:37 PM »
sounds a bit confusing
are you looking to have the SME box in server-gateway mode??
with your workstation computers behind it??
routers do not 'connect' to servers, they route data packets
your router should have 2 ip addresses,
one for the adsl line (Internet), one for the other network (your home network or LAN)
you will have to give your SME box an address in the same network as the LAN side of your router
you said
"it an external router that is connected to the switch and then to the server."
that config does not sound right
it should be
adsl line
|
router
|
SME box
|
hub/switch
|                |
pc#1       pc#2

sounds like you have it
router
|
switch
|
SME box   pc#1   pc#2   etc...
if SME is doing dhcp on your localnet, it will be putting its ip as default gateway, which in this config is incorrect, should be ip of router

does this help or bring more questions??

steve

matthew

Re: ADSL
« Reply #3 on: May 15, 2003, 10:10:40 PM »
this how it is set up

adsl
l
switch -- pc1 pc2 etc
l
sme box

so i should disable the dhcp
then manually set ip's on each of the machines?

i have the sme box's ip set to the same as the router
but that didnt help... is there anyway i can check if it is even making the connection?

i can connect with the adsl without the sme box but the point is to have it connected 24/7

matthew

Re: ADSL
« Reply #4 on: May 15, 2003, 10:18:04 PM »
the way you said it should be how can i set it up like that?
it looks like you would need 2 network cards and i dont even know if that is possible.

steve

Re: ADSL
« Reply #5 on: May 15, 2003, 10:45:03 PM »
matthew wrote:
>
> this how it is set up
>
> adsl
> l
> switch -- pc1 pc2 etc
> l
> sme box
>
> so i should disable the dhcp
> then manually set ip's on each of the machines?

you could do it that way, or use dhcp on the router, if it has that option
just remember, with this config, you are not getting the benefits of the firewall from the SME, so make sure the router is doing some kind of firewalling if you are going to use this config
in this config, the SME is really just a server, not a gateway/firewall
do you want the SME to be your firewall/gateway??

steve

matthew

Re: ADSL
« Reply #6 on: May 15, 2003, 10:54:54 PM »
yes i do want it that way - firewall/gateway
but cant manage to get it runnung that way

steve

Re: ADSL
« Reply #7 on: May 15, 2003, 10:56:41 PM »
yes, you would need 2 network cards in your SME box if you want your workstations 'behind' it, like in my first diagram
yes, it is possible, in fact i believe it is the preferred configuration.
basically with the config described in my first diagram, you have 2 routers (as the SME is actually routing between your lan and the adsl router)
something like this

Internet
|
your adsl router outside IP from adsl provider X.X.X.X
                            inside IP 192.168.1.1
|
SME box            'outside IP' (out to adsl router) 192.168.1.2
                             inside IP (lan side)                    192.168.2.1
|
switch
|
workstation pcs (192.168.2.x)

make sense?

steve

matthew

Re: ADSL
« Reply #8 on: May 15, 2003, 11:21:57 PM »
ok that is cool, would you be able to set the network cards?
or will they be automatically assigned?
in my mind i see:
eth0 - network adapter
eth1 - network adapter
eth2 - which would be the router

is this right?
sorry bout all this, im like a newbie when it comes to adsl

once this is all set up would you connect to the internet as you would a dial up connection from the other workstations with proxy's or not?

steve

Re: ADSL
« Reply #9 on: May 15, 2003, 11:40:46 PM »
matthew wrote:
>
> ok that is cool, would you be able to set the network cards?
> or will they be automatically assigned?
> in my mind i see:
> eth0 - network adapter
> eth1 - network adapter
> eth2 - which would be the router
>
> is this right?
> sorry bout all this, im like a newbie when it comes to adsl

what you described sounds like 3 network cards
you will only need 2
one to the adsl router and one to the switch on your lan
remember you will probably need a crossover cable to connect the SME to the router
during the install the network cards will be automatically setup, if that does not work the install will give you the option to 'swap' the cards logically

>
> once this is all set up would you connect to the internet as
> you would a dial up connection from the other workstations
> with proxy's or not?

in my home network, which is pretty much the same setup without the extra router, all you do is launch a web browser on the workstation and it will go right to the Internet.  i do not use a proxy.

whoever setup your adsl connection should have given you instructions to set it up
you might want to set it up to 1 computer, just to make sure it works before you go putting the SME server in the mix

steve

matthew

Re: ADSL
« Reply #10 on: May 15, 2003, 11:52:27 PM »
the reason why it looks like 3 cards is because when i set it up today it used the same device for the router which was eth0 but called it eth1

i have already tested the line from another workstation works perfectly....
ok just 2 more things
how do i know if the sme box has made the connection to the isp
and i am using ver 5.1.2 would this be a problem?

steve

Re: ADSL
« Reply #11 on: May 16, 2003, 01:40:03 AM »
login to the box itself as the admin user
this should give you a menu
one of the options is to test Internet connectivity, try that
5.1.2 should not be a problem, i ran that version for quite awhile with no problems

steve

Steven

Re: ADSL
« Reply #12 on: May 16, 2003, 11:03:07 AM »
Mathew, sorry to join this so late, I set up exactly the same config 2 weeks ago, I bet you're from SA?
What you need to do is setup you username and password on the ADSL router, which you must have done if you've tested it from another machine.
Then on you e-smith you set it as a dedicated connection with a STATIC ip address, NOT PPOE, yes you need 2 network cards, the static IP (If I'm correct in assuming your from SA) of the second NIC should be 192.168.10.100.
The reason It isn't working the way you set it up, is because your machines are looking to the sme box for proxying, if you want to plug the router directly to the switch (not recommended), you would point your machines to the IP address of the router (assuming again) 192.168.10.200.

Let me know if you need any more help

Steven

Matthew

Re: ADSL
« Reply #13 on: May 16, 2003, 04:43:15 PM »
well i am from SA, and i basically done every thing that steve said and its working perfectly now....just wish the speed would be better but hey what there to complain about!
thanks alot guys