Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Walt on January 15, 2000, 04:22:50 AM

Title: HELP- Multi subnet network
Post by: Walt on January 15, 2000, 04:22:50 AM
I have a two subnets 192.168.1.x and 192.168.2.x
my subnets are separated by a router .
I would like to configure E-Smith to except the second subnet but I don't know what the proper syntax should look like in the files. I received some advice from Charlie Brady unfortunately I'm not familiar with editing Linux configuration files. I can use vi and move through the file system so I know enough to be dangerous. Could some one help me with the syntax in the files? If it’s a lot of changes just getting me in the right direction would work. If there are some rules to follow.

Thanks
Walt
Title: RE: HELP- Multi subnet network
Post by: Kim Morrison on January 15, 2000, 09:56:53 PM
Walt,

Thanks for the post!  You might want to wait and use version 4.0 which will gracefully handle adding networks.  

Cheers!

- Kim
Title: RE: HELP- Multi subnet network
Post by: Charlie Brady on January 16, 2000, 11:27:22 AM
Walt wrote:

> I have a two subnets 192.168.1.x and 192.168.2.x my subnets are
> separated by a router . I would like to configure E-Smith to
> except the second subnet but I don't know what the proper
> syntax should look like in the files. I received some advice
> from Charlie Brady unfortunately I'm not familiar with editing
> Linux configuration files. I can use vi and move through the
> file system so I know enough to be dangerous. Could some one
> help me with the syntax in the files?

If you can't do this yourself, you should be able to find a local Linux enthusiast or guru who can do it for you or show you how to do it, for some fee great, small or insignificant. I'm sorry to be less generous than
I'd like to be, but I'm trying to find time to contribute to the next release. I'm sure you'll understand.

Charlie
Title: RE: HELP- Multi subnet network
Post by: Walt on January 17, 2000, 05:59:53 AM
Charlie,
Thanks for the advice. I had trouble doing it at work but I managed to get the hole thing going at home. The only differance is at home I'm running E-Smith 2.? and at work its 3.1 . I did every thing the same but the syntex in the masq file is differant. in E-Smith 2.x it looks like this.
ipfwadm -F -A masquerade -S 192.168.2.0/24 -D 0.0.0.0/0

and in E-Smith 3.1 the word ipfwadm is replaced with ipchain.
On monday I am going to work to start all over and try to copy what I did at home at work. I'm going to use the ipchain because thats what is already there. I hope thats not the problem.

Well thanks!!!
Walt