Welcome Guest. Please Login or Register  


You are here: Index > General Stuff > General Discussions > Topic : eth0 for external, eth1 for internal only



Threaded Mode | Print  

 eth0 for external, eth1 for internal only (3 Replies, Read 9121 times)
kyme32
Group: Member
Post Group: Newbie
Posts: 16
Status:
Hello there,
I'm quite beside centos, i'm quite new in this OS and i would like to make some trick to my server but i don't know how to configure it properly to work as i want
i have the following,
2 lan connections on server eth0, eth1
one of the connections it's used with direct connection to internet(eth0) with one ip
and the other one i want to use it to connect to server via my router, lan ip(192.168.1.150), static ip
the problem comes when i try to enable the eth1, it brings me the server down or it's it works but the lan connection don't.
theres my config

eth0
Code
DEVICE=eth0
TYPE=Ethernet
UUID=5d710d2b-31ec-4647-875e-f14d700be38e
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
HWADDR=00:16:36:5F:AD:F8
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"


eth1
Code
DEVICE=eth1
HWADDR=74 :D 4:35:8F:AA:06
TYPE=Ethernet
IPARDR=192.168.1.150
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
UUID=defffb0e-448e-473e-9577-35663aebcf02
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp


could somebody please help me with this thing, i'm really lost in it and i don't know how to setup the eth1 to act just like one simple lan connection and leave the eth0 as it is to work with external connection
thank you
IP: --   

eth0 for external, eth1 for internal only
kyme32
Group: Member
Post Group: Newbie
Posts: 16
Status:
or better said, can i use the external connection for webuzo server(eth0) and the internal connection(eth1) for ftp file transfer for example(to be faster on transfering, 1000mb network)
IP: --   

eth0 for external, eth1 for internal only
kyme32
Group: Member
Post Group: Newbie
Posts: 16
Status:
i manage to make it, atlast something works as i want to  :xd: love my 55mb speed transfer  ;-D
here's how i made it if someone in future will need it
eth0
Code

DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
HWADDR=00:16:36:5F:AD:F8
IPV6INIT=no
NAME="System eth0"
BOOTPROTO=dhcp


eth1
Code

DEVICE=eth1
HWADDR=74 :D 4:35:8F:AA:06
TYPE=Ethernet
USERCTL=no
ONBOOT=yes
BRIDGE=br0

[code]
DEVICE="br0"
TYPE="Bridge"
ONBOOT="yes"
USERCTL="no"
BOOTPROTO="static"
IPADDR="192.168.1.105"
PEERDNS="yes"
BRIDGE_STP="yes"

and before to set it up install bridge-utils and everything should work, i used eth0 for internet connection
IP: --   

eth0 for external, eth1 for internal only
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5636
Status:
Hi,

Glad to know you were able to configure it.

Thank you for sharing the information.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 4:39 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.043