HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   dual nic config question (http://www.howtoforge.com/forums/showthread.php?t=34029)

agchenry 22nd April 2009 18:29

dual nic config question
 
i'll post this here since i may have posted in wrong place and had no response may be this would be a more appropriate place to post .
Not sure if this has been explained but i havent found the setup i would like.
I built a "Perfect server Ubuntu 8.10 x64 ISPCONFIG3 " and it works great! (many thanks to the author) I was able to set up websit ftp, and email just fine. Since i have a ATT uverse internet (AT&T U-Verse 2wire 3800 gateway) in dmzplus mode.I left eth1 in dhcp (att uverse doesnt let static ip devices be in dmzplus mode)and all works well configued the host like shown in the howto guide (127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1) except for the 192.168.0.100 where i used my actual internet ip uverse provided the server with. Now what i would like to do is use eth0 for my local network that will provide internet and assign ip addresses to my other computers and maintain eth1 in dhcp. i would leve it how it is now but how my server is in dmzplus mode it cannot be seen by my other computers on my network (its like if the server was on a diffrent local network) Can anyone share with me the steps i should take in order to have the ability to share files on my local network with my server and visa versa? (my mother board has to gig nics) what application would i get? and what firewall should i use on the server?

till 23rd April 2009 10:52

ISPconfig is not made to be run on a router, so it might work but its not an ideal solution. You should better get a dedicated small router which are very cheap (about 30 EUR here in germany) and then run your server independantly from the router inside your network.

tebokkel 23rd April 2009 11:04

I second that. Having your websites and email run on the server that you also use for firewall and routing causes a lot of problems, since your internal view of the network is different from the outside view.
If you have a laptop that needs to work occaisionally on other locations, you'll need to switch /etc/hosts and stuff like that. It gets worse with things like PDA's and smartphones that switch from local Wifi to 3G. Getting bind setup for split-views is also not for the faint of heart..

Just stick in some extra dedicated hardware (although you still run the risk of the complications I sketched here).

Paul

agchenry 23rd April 2009 23:03

Quote:

Originally Posted by till (Post 183789)
ISPconfig is not made to be run on a router, so it might work but its not an ideal solution. You should better get a dedicated small router which are very cheap (about 30 EUR here in germany) and then run your server independantly from the router inside your network.

could you elaborate ? i have a dir-655 laying around but done understand what you are trying to say my configuration now is att uverse modem (2wire3800) goes to gigabit switch from there i have my ispconfig server on DMZplus mode (servers ip address is the same one i get if i type in whatismyipaddress.com) and my other 3 computers are on my gigabit switch. can i configure my network the way your saying adding the dlink router in my setup? how would i hook everything up?

robilaur 24th April 2009 10:03

Well u can use the setup that i have..... I have Debian Lenny server with ispconfig 3 , 2 NIC card and 1 SMC Wireless rooter with 4 ports... The set up is like this... direct link to server from Internet provider on NIC 1 (eth0) , port forwarding from server to NIC 2 (eth1) , link from NIC 2 to Rooter and from rooter to the rest of the computer. With this layout all internet trafic goes trought the server . Results : Server is direct connected to internet , no need of port forwarding trought rooter and other nasty stuff... and better management of the internet . Hope it works for u :D

robilaur 24th April 2009 10:10

Oh.... and if u need the port forwarding script i`l be happy to share it with u ...

agchenry 24th April 2009 16:44

Quote:

Originally Posted by robilaur (Post 183965)
Well u can use the setup that i have..... I have Debian Lenny server with ispconfig 3 , 2 NIC card and 1 SMC Wireless rooter with 4 ports... The set up is like this... direct link to server from Internet provider on NIC 1 (eth0) , port forwarding from server to NIC 2 (eth1) , link from NIC 2 to Rooter and from rooter to the rest of the computer. With this layout all internet trafic goes trought the server . Results : Server is direct connected to internet , no need of port forwarding trought rooter and other nasty stuff... and better management of the internet . Hope it works for u :D

thats exactly the setup i would like! if you can walk me thru (total linux noob less than a week lol) the setup i would sure appriciate it. What i have now is an ubuntu server 8.1 w/ ispconfig 3 my main goal is to have a webserver, with a members only ftp so that i can share some of my files friends and family, and ofcourse my local network. i have a dlink dir-655 laying around that i could use for the router. i would need detail on setting it up tho. no idea how to foward internet to nic 2 the way you mentioned above. My biggest dislike on my setup now is that for me to put files from one pc to the server its only 2MB max upload why i would like the setup you mentioned. I would be able to use my gig network more efficiently and get faster transfer speeds between my local network pc's and the server . thanks for you help!

robilaur 26th April 2009 14:34

OK....il help.... contact me on my messenger ID


All times are GMT +2. The time now is 22:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.