Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: mgb 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
-
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.
-
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
(http://linux.makif.omer.k12.il/wr/uploaded/MAPNETadsl3.PNG)
/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
-
mgb
Appears you're trying to have several internet connections and configure each PC with a choosen gateway.
(http://linux.makif.omer.k12.il/wr/uploaded/MAPNETadsl3.PNG)
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
-
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 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.
-
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
-
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 (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>
-
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 (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
-
I think there's an uncomplicated way
There is. Use a router. You will need to add a local network via server-manager.
-
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.
-
pfsense is the answer! From the looks of it, you need a much more featured firewall than what SME provides.
-
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
-
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.
-
the network sme 8 2 network gw 192.168.183.2
(http://linux.makif.omer.k12.il/wr/uploaded/4.gif)
add network local ?
-
This subject is likely better to be under the general discussion heading. I doubt what you would like, will happen easily either via sme or other package. Your requirements for sarg and FWIKT bandwidth control won't happen.
If you only want access to the core server and multi gateways, then as suggested layer 3 vlans or if 2 a router on a stick will be needed. I haven't looked close enogh to the vlan contrib that was mentioned here http://forums.contribs.org/index.php/topic,47142.msg237157.html#msg237157 (http://forums.contribs.org/index.php/topic,47142.msg237157.html#msg237157).
Using a modified coova-chili in conjuntion with the above mgiht get it done. I wouldn't count on it though.
Your pictures are good, but without a layer 2 switch you'll never get close to what you want.