digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Computers (http://www.digitalfaq.com/archives/computers/)
-   -   Help configuring network. (http://www.digitalfaq.com/archives/computers/14003-configuring-network.html)

Prodater64 12-10-2005 02:48 PM

Help configuring network.
 
Hi, i have a little network with 4 PCs.
After i changed my ISP and the way that ADSL come into my house, before router, now modem, i couldn't to serve internet to my secondaries PCs.
My configuration is as following:

http://www.digitalfaq.com/archives/i.../2005/12/2.gif

http://www.digitalfaq.com/archives/error.gif

Forget VMware connections, 1394 and área local 2.
USB ADSL gives me internet access.
"Puente de red" has a fixed internal ip 192.168.0.1

I tried all configurations with my secondaries pcs, but i cant reach internet. Yes i can see the net between each another.

If i configure secondaries pcs to obtain ip automatically, they can't see the network, so i gived they fixed ips 192.168.0.2, 3 and 4.
As i said, network ok, no internet.
Some idea?

kwag 12-10-2005 06:26 PM

Hi Luis,

Your ADSL modem is probably asigned an IP address in the same segment of your intranet.
What's the IP of your USB ADSL :?:
If it's the same segment as your internal (Puente de red), then you must change your internal IPs to something else like 10.0.0.x

-kwag

Prodater64 12-11-2005 04:31 AM

Quote:

Originally Posted by kwag
Hi Luis,

Your ADSL modem is probably asigned an IP address in the same segment of your intranet.
What's the IP of your USB ADSL :?:
If it's the same segment as your internal (Puente de red), then you must change your internal IPs to something else like 10.0.0.x

-kwag

No.
The usb adsl ip is auto asigned by my isp and it is not in the same segment.
One problem that i find is that, despite the info (pic) says "shared " (compartido), neither the bridge nor the bridge have DHCP enabled, then my networked pcs can't get an ip adress automatically.
I though that enabling ics, DHCP was "ON" automatically. I don't know how to enable it manually.

I have in my secondaries my primary ip adress as gateway.
It is ok or i need to set my usb adsl adress as gateway, despite it is in another segment?

kwag 12-11-2005 11:07 AM

I have a suggestion Luis. Why don't you get a small cheap router, and use it between your ADSL connection and your network :idea:
This also serves as a firewall, because anyone attempting to enter your network (and believe me, it happens all the time!) will be blocked at the router (firewall).
Then, you set up DHCP on your router to give IP addresses to all your internal PCs.
That's basically what I do, but I have a small embedded board (Soekris) that sits between my Cable modem and my LAN hub.
This is far better than connecting a ADSL modem directly to a LAN.

-kwag

rds_correia 12-11-2005 11:40 AM

That's what I also have.
But I'm affraid Luis's ADSL modem only has a USB connector.
A small router would only work if his ADSL modem has a LAN port connection such as your modem.
For instance modems provided by ADSL companies here in Portugal only come with USB connection.
If you want a modem with a LAN connection you have to buy your own modem.
Cheers

kwag 12-11-2005 12:38 PM

Quote:

Originally Posted by rds_correia
But I'm affraid Luis's ADSL modem only has a USB connector.

Well, he could build a little cheap PC (old Pentium, or even a 486) and run FreeBSD on it :)
Then he can use the USB ADSL modem, and a regular network card on that PC configured for DHCP to feed the Intranet machines.
FreeBSD should handle his ADSL modem well :)
As a matter of fact, if he should decide to run pfSense on that PC, it supports USB devices, so that would be a perfect combination to build a secure router/firewall.

-kwag

rds_correia 12-11-2005 01:07 PM

Now you're talking.
Hey, I'm running pfS 0.96 on my Soekris and it's working great.
I guess we'll see a 1.0 by February or something.
Does it support USB modems?
Didn't know that...
Anyway it would be a great way to share Internet for Luis ;-).
Actually it would be a great way to share Internet for everybody.
On a PIII-500 it boots everything and I mean everything needed for firewall, vpn concentrator, static routes, etc... in something like 19 seconds.
It's booting from a 1GB HDD.
Yes you read well, 1GB HDD because I couldn't find a 16MB HDD :lol:.
Cheers

kwag 12-11-2005 01:14 PM

Quote:

Originally Posted by rds_correia
Now you're talking.
Hey, I'm running pfS 0.96 on my Soekris and it's working great.
I guess we'll see a 1.0 by February or something.

Time to give it a try again :D
Quote:

Does it support USB modems?
Didn't know that...
I know it supports USB devices, but now that you mention it, I'm not sure if it will detect a USB modem.
Best thing would be for Luis to download the ISO image, burnit up, and test it on a PC by plugging in the USB modem, and issuing a "dmesg" to see what is detected.
Quote:

Anyway it would be a great way to share Internet for Luis ;-).
Actually it would be a great way to share Internet for everybody.
On a PIII-500 it boots everything and I mean everything needed for firewall, vpn concentrator, static routes, etc... in something like 19 seconds.
It's booting from a 1GB HDD.
Yes you read well, 1GB HDD because I couldn't find a 16MB HDD :lol:.
Cheers
:lol:

BTW, Rui, do you know if I install pfSense on another flash card, and then restore my m0n0wall config file, will it work :?:
Or is the saved configuration on m0n0 different from pfSense :?:

-kwag

rds_correia 12-11-2005 01:29 PM

It's a completly different XML file.
So, you won't be able to use your current config file...
Well unless you know what you're doing and you edit it by hand.

@Luis,
Maybe Karl's advise would be the way to go.
If you don't actually use your Internet sharing PC, then you could try downloading pfSense's LiveCD and try it on.
Afterwards if you like it you can use it to deploy it on your harddrive.
But like Karl said, I don't know if it supports USB modems.
Cheers

scrappy 12-25-2005 08:06 PM

Not sure if this is gonna help any but...

You can get routers with ADSL modems built in, so you just toss the usb one away and use the router. Plug it into the phone socket, cat5 to the pc and connect to its internal web based interface, setup the isp details and it'll take care of the adsl side and give you a local lan.

Netgear, Linksys and Dlink make some good, fairly cheap ones. My prefered make is Zyxel since they come with a military grade firewall built in too (zywall).

If you want to keep the modem then Draytek make a router that lets you plug a usb adsl modem into it. Though you may have a hard time finding this as it was never that popular. It's the Vigor 2200USB btw.

As for ICS it never worked that well, your best off manually setting ip addresses rather than trying to use dhcp when using it too. But since ICS is basically just a proxy server, you may aswell use one that at least works, AnalogX Proxy is free, installs without problems and beyond that.... it works.

If you want a pc based *nix router that supports usb modems out the box so to speak then have a look at IPCop or Smoothwall

... Sorry lads, I'm a Linux lad none of this BSD stuff for me :lol:

rds_correia 12-26-2005 06:35 AM

Quote:

Originally Posted by scrappy
... Sorry lads, I'm a Linux lad none of this BSD stuff for me :lol:

No problem about that scrappy, but it's just because last time I checked both IPCop and SmoothWall were hundreds of MB to install.
I install M0n0wall on a 16MB CFcard and pfSense on a 256MB CFcard (because I couldn't find a 128MB CFcard...) on a read-only slice and I keep a small write-enabled temp slice for the config file.
Both noise and power consumption are very important to me and there aren't many Linux firewall/router distributions that can be used out of a CFcard...
That's why I'm all for BSD in this aread ;-).
Cheers

scrappy 12-26-2005 12:05 PM

Quote:

Originally Posted by rds_correia
I install M0n0wall on a 16MB CFcard and pfSense on a 256MB CFcard (because I couldn't find a 128MB CFcard...) on a read-only slice and I keep a small write-enabled temp slice for the config file.
Both noise and power consumption are very important to me and there aren't many Linux firewall/router distributions that can be used out of a CFcard...
That's why I'm all for BSD in this aread ;-).
Cheers

A fair point, the smaller Linux distros aimed at CF cards are generally not ideal for firewall/router work.


All times are GMT -5. The time now is 10:54 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.