Obsolete Releases > SME 8.x Contribs
another IP network to serve sme 8
Jáder:
--- Quote from: mgb 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
--- End quote ---
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.
mgb:
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
mgb:
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>
mgb:
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
CharlieBrady:
--- Quote from: mgb on June 21, 2012, 11:59:53 AM ---I think there's an uncomplicated way
--- End quote ---
There is. Use a router. You will need to add a local network via server-manager.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version