Koozali.org: home of the SME Server

another IP network to serve sme 8

Offline mgb

  • ****
  • 558
  • +0/-0
another IP network to serve sme 8
« on: June 16, 2012, 10:52:41 AM »
  I have a question SME 8
 I want to add another IP network to serve

 For example
 SERVER IP
 192.168.1.2 eth1
 192.168.1.3 eth1

 10.0.0.1 eth2
 10.0.0.2 eth2

Thanks all for helping
Skype yosii2009

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: another IP network to serve sme 8
« Reply #1 on: June 17, 2012, 01:41:10 AM »
mgb

I'm not fully sure what your question is, but sme does not support your specification by default.

These answers may assist.
You can add another seperate network as a trusted network in server manager Local Networks panel.
You need to connect the two networks using a router/switch IIRC, search the forums as this request (or something similar) has been answered a number of times.

If you mean to have two external IP's resolve to sme, then you would need to use a modem/router that supports two incoming IP's.
« Last Edit: June 17, 2012, 01:44:59 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #2 on: June 17, 2012, 10:23:43 AM »
Thanks for comment
 I once asked the question on an external IP number is not question,
 It's about asking the question on a different subject
 I would like to manage your browsing speed and also to track users sarg
 SME server with good server I think I know and understand all the options available on the network
 And I chose to use SME server
 I can install 3rd SME server then it will work
  In the example there are three server IP for network card ad 3 gw


/etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=192.192.0.251   dg 192.168.0.251
IPADDR=192.192.0.252   dg  192.168.0.252
IPADDR=192.192.0.253   dg  192.168.0.253
NETMASK=255.255.0.0
NETWORK=192.192.0.0
BROADCAST=192.192.255.255
/etc/sysconfig/network-scripts/ifcfg-eth1
IPADDR=192.168.0.251   dg 192.168.0.250   
IPADDR=192.168.0.252   dg 192.168.0.249
IPADDR=192.168.0.253   dg  192.168.0.248
Thanks all for helping
Skype yosii2009

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: another IP network to serve sme 8
« Reply #3 on: June 17, 2012, 07:07:03 PM »
mgb

Appears you're trying to have several internet connections and configure each PC with a choosen gateway.


I'd try to use a separated firewall to do this, with multiple links on it.
I'd use pfSense... but it's a hard work so my suggestion would be you contract someone else to do the work. It's not a first time job for a pfSense novice.

Jáder
...

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #4 on: June 18, 2012, 09:15:04 AM »
I asked a question about IP
 Translated correct answer is very offensive
 You do not know what I know about due to poor English
Thanks all for helping
Skype yosii2009

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: another IP network to serve sme 8
« Reply #5 on: June 18, 2012, 12:38:36 PM »
I asked a question about IP
 Translated correct answer is very offensive
 You do not know what I know about due to poor English
I'm sorry... did not want to be rude.
Your picture show several PCs using different internet gateways.

SME is not designated to have several LAN or WAN IPs... it's possible... but is not easy. When you need those features my tip it's to use a firewall like pfSense.

...

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #6 on: June 18, 2012, 01:39:45 PM »
Sorry if I did not understand the sentence.
 I believe I can understand I know the settings and see
 You understand what I was
 Question
 Is the file or files that need new definitions
 And only know the proxy will behave in this situation
 By using SARG tracking
 Perhaps after the manual settings through the administration must change the settings
 Can also adjust
 Question
 Prepare Haggadah Latham set the wick I made up

My sme 8 Server using a flash disk
 16G MEM
600 users browsing the Internet through one server sme 8
« Last Edit: June 18, 2012, 01:41:28 PM by mgb »
Thanks all for helping
Skype yosii2009

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #7 on: June 19, 2012, 02:36:25 PM »
I tried to set it works
 But can not route the IP address by
http://www.linode.com/wiki/index.php/Multiple_IPs#.2Fetc.2Fsysconfig.2Fnetwork-scripts.2Fifcfg-eth0:0

route
192.168.183.0   linuxf.proxy    255.255.255.0   UG    0      0        0 eth0
192.168.183.0   *               255.255.255.0   U     0      0        0 eth1
192.192.0.0     *               255.255.0.0     U     0      0        0 eth0
default         192.168.183.2   0.0.0.0         UG    0      0        0 eth1
default         192.168.183.1   0.0.0.0         UG    0      0        0 eth1

nano ./ifcfg-eth0:0
DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=192.192.0.250
NETMASK=255.255.0.0
BROADCAST=192.192.255.255
GATEWAY=192.168.183.22 <ip  eth1:0 >


nano ./ifcfg-eth0
TYPE=Ethernet
DEVICE=eth0

HWADDR=50:e5:49:c6:c4:bd

USERCTL=no
ONBOOT=yes
PEERDNS=no

IPV6INIT=no

BOOTPROTO=none
IPADDR=192.192.0.254
NETMASK=255.255.0.0
NETWORK=192.192.0.0
BROADCAST=192.192.255.255
GATEWAY=192.168.183.18 <ip eth1>

command
route add default gw 192.168.183.1  <adsl1>
route add default gw 192.168.183.2   <adsl2>
Thanks all for helping
Skype yosii2009

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #8 on: June 21, 2012, 11:59:53 AM »
I think there's an uncomplicated way Would love if you can get help The following example
to config the script
http://lartc.org/howto/lartc.rpdb.multiple-links.html
/etc/iproute2/rt_tables
                  edit
 ip route add $P1_NET dev $IF1 src $IP1 table T1
     ip route add default via $P1 table T1
     ip route add $P2_NET dev $IF2 src $IP2 table T2
     ip route add default via $P2 table T2
   

edit
Reader Rod Roark notes: 'If $P0_NET is the local network and $IF0 is its interface, the following additional entries are desirable:

ip route add $P0_NET     dev $IF0 table T1
ip route add $P2_NET     dev $IF2 table T1
ip route add 127.0.0.0/8 dev lo   table T1
ip route add $P0_NET     dev $IF0 table T2
ip route add $P1_NET     dev $IF1 table T2
ip route add 127.0.0.0/8 dev lo   table T2                                     
Thanks all for helping
Skype yosii2009

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: another IP network to serve sme 8
« Reply #9 on: June 21, 2012, 02:33:02 PM »
I think there's an uncomplicated way       

There is. Use a router. You will need to add a local network via server-manager.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: another IP network to serve sme 8
« Reply #10 on: June 21, 2012, 04:12:29 PM »
mgb

There is. Use a router. You will need to add a local network via server-manager.

....and that answer was already told to you 5 or 6 days ago in post number 1 of this thread here
http://forums.contribs.org/index.php/topic,48777.msg242755.html#msg242755

Now Charlie is telling you, and he knows much much more than me about networks, Linux & sme server, so I hope you will listen to his advice.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: another IP network to serve sme 8
« Reply #11 on: June 23, 2012, 06:19:46 PM »
pfsense is the answer!  From the looks of it, you need a much more featured firewall than what SME provides.
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #12 on: June 24, 2012, 10:42:04 AM »
 Very grateful for the help
 I'm running does not work
 About:
 No external answers may assist.
 "You can add another seperate network as a trusted network in server manager Local Networks panel."
  I am running
 Local Networks server manager panel
 Security
 Local networks
 Add a local network
 my network = gw 192.168.183.1
 Subnet mask Network Number of hosts Router operation
 192.168.183.0 255.255.255.0 256 192.192.0.254
 192.192.0.0 255.255.0.0 65 536

 I am interested in the internal network to add additional IP
 For example 192.192.0.250 255.255.0.0 gw 192.168.183.2
 
 Would love to have an example Thanks
Thanks all for helping
Skype yosii2009

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: another IP network to serve sme 8
« Reply #13 on: June 24, 2012, 12:52:23 PM »
mgb

I think it is like this (would someone correct it if not)

If your existing sme server LAN IP is 192.168.1.1 and subnet mask is 255.255.255.0

Then in Local Networks panel
Add
Network IP 192.168.2.1 (this is for the second LAN)
Subnet mask 255.255.255.0
Router IP 192.168.1.19 (a spare IP address outside of the DHCP range on the first LAN)

Then workstations on the other LAN use IP's like 192.168.2.2, 192.168.2.3, 192.168.2.4 & so on.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • ****
  • 558
  • +0/-0
Re: another IP network to serve sme 8
« Reply #14 on: June 24, 2012, 05:18:07 PM »
the network   sme 8 2 network gw 192.168.183.2

 add network local  ?
« Last Edit: June 24, 2012, 08:07:36 PM by mgb »
Thanks all for helping
Skype yosii2009