Benches Networking

3

Problem with configuration of en0 and en1

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I am helping a friend who has a lot of hardware (See below) but no money to get real help to configure the network. So he ask me.

He is working on hi-def video of local events with final cut server and he streams them with H264 on the internet. A sort of hi-def internet tv station. (I can give you the site once it is up and running again). He own 5 WAN IP and a few domain name.

My solution was a simple network with one router with one WAN IP and everything behind it.

He say it will be too slow. So he want that all machine :

- to surf the web and some other service directly with WAN IP because of speed and in case the LAN network goes down
- to offer web services (web, http://ftp...) directly without going through the router of the local network.
- to go to local network for file sharing, open directory etc.

Not being sure at all how to do this, I started with my solution first. I put the switch at the entrance of the network. then I connected the router with an External IP. Then, I hook up all the machine on the router. I used en1 (Ethernet 2) on all machine for the local network (LAN). I configure the xserve with a local IP and a dns with fake domain name.

Once everything was fine, I then connected the en0 (ethernet 1) of one of the machine directly (xserve g5) to the switch and gave it a Real world IP. It worked fine les than 2 hours, then problems begin: Slow network, some service not accessible, Cannot acces the server with ServerAdmin from outside (WAN).

I did not change the priority of internet connection because of the demand to acces the web directly.

Is it possible to do what he ask.
if yes
how
else
how
end

Any help will be much appreciate
My question:

Switch Dlink-1008
Router Gigabits
Xserve G5
Xserve Intel (coming in 3 days - each xserve will have different web service but both will do port 80 for different site)
Mac Pro 1
Mac Pro 1
PowerBook (Local IP Only)

P.S.
I have read "Set Default Network Route" on this page http://www.makemacwork.com/category/leopard and I start to have some doubts...

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sorry for the long post. I will now try to be brief.

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    to surf the web and some other service directly with WAN IP because of speed and in case the LAN network goes down

    This makes no sense, and indicates a lack of understanding.

    The transfer speed difference between a machine with a real-world IP address and one on a private network behind a NAT box might be measures in microseconds.
    Given that you're using the same equipment either way, the only reason the 'LAN network goes down' would be because your switch broke. If your switch broke you're going to be down regardless of what IP addresses you're using.

    to offer web services (web, http://ftp...) directly without going through the router of the local network.

    Stop right there. Every bit of traffic, quite literally, is going to go through the router. There's no way around this. That's what the router is for. Therefore this desire is pointless.
    Maybe what he means is 'without going through NAT', but that's not what he's saying.

    to go to local network for file sharing, open directory etc.

    If you're not using NAT then, in essence, there is no 'local network'. The whole internet becomes your network (not quite, but at least think of it that way).
    Extrapolating that out, while eliminating port forwarding might make life a little easier for clients to get to, it also makes it MUCH easier for hackers to get to. Has he considered that?
    The addition of that NAT does two things - 1) it might add a microsecond or two of network latency and 2) it adds a significant level of network security.
    For most people 2) outweighs any downside of 1).

    The RIGHT solution here is to configure the router with the 5 IPs, configure a private network on the 'inside' of the router and put all the machines with a static address in that private network.
    You can then configure port forwarding on the router for each of the machines - JUST for the services that machine will run - for example, forward port 80 connections to the web server.

    This will offer the best combination of security and performance.

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you for your answer, I am currently discussing it with him to let him decide how he wants to go.

    I will let you know.

    And maybe, if you have time for me, I might ask some last minute question about configuration.

    Thank you again