How to specify one ethernet port for network home directories (other for normal filesharing)?

So I'm trying to get Home Directories up and running on a 10.6.8 Xserve (waiting until I get my NFS sharepoints migrated to a Linux server [for other reasons] before moving up to 10.7 Server). But posting here since that will be happening in the next few weeks, and it might be applicable now (so I can at least get that resolved ahead of time).
I have a different DNS entry for each ethernet port: server.office.domain.com at 192.168.0.11 for the first, and homes.services.internal at 192.168.0.10 for the second. DNS lookups for both resolve correctly (as does the reverse lookup).
If I use the Server Admin to pick a sharepoint as an automount for Home Directories, everything is fine, but it picks the server.office.domain.com hostname. Picking that works just fine, but that is also the connection that feeds the filesharing. I'd prefer to split that home directory traffic out onto the second ethernet port. So I tried just duplicating the initial connection (since it can't be edited directly in Workgroup Manager) and changing the hostname to the internal one, but I get an error when attempting to log in (the client login screen gives a very helpful "Couldn't login because of an error" error message) and don't see anything in the server logs.
The client machine shows the following line:
Code:
10/20/12 5:27:42.688 PM authorizationhost: ERROR | -[HomeDirMounter mountNetworkHomeWithURL:attributes:dirPath:username:] |
     PremountHomeDirectoryWithAuthentication( url=afp://homes.services.internal/Users,
     homedir=/Network/Servers/homes.services.internal/Volumes/HomeDirectories/Users/ user123, name=user123 ) returned 45
(added line breaks so it didn't extend off the page)
So it looks like this is failing because the automount isn't in place, but I'm not sure how to work that out either (i.e. how do I add that making sure it uses the internal hostname?).
Any suggestions on getting this to work?
I realize one solution is just to LACP the two ports, but that is a different ball of wax (I may do that later if I get a 4 port ethernet card and performance limitations demand it).

A possible solution might be this.
On ADSLBOX and CABLEBOX configure different subnets for the LAN, e.g.
ADSLBOX:    192.168.1.0/24
CABLEBOX: 192.168.2.0/24
The MEDIABOX gets these static IPs:
ADSL-LAN: 192.168.1.2
CABLE-LAN: 192.168.2.2
On the MEDIABOX, configure the two network interfaces using two routing tables.
The ADSL-LAN routing table
ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2 table 1
ip route add default via 192.168.1.1 table 1
The CABLE-LAN routing table
ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2 table 2
ip route add default via 192.168.2.1 table 2
The main routing table
ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2
ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2
# use the CABLE-LAN gateway as default, so general internet traffic from MEDIABOX runs over CABLEBOX
ip route add default via 192.168.2.1
define the lookup rules
ip rule add from 192.168.1.2 table 1
ip rule add from 192.168.2.2 table 2
To test the setup:
ip route show
ip route show table 1
ip route show table 2
I don't know how to persist something like this in ArchLinux using netctl. Might require to write a special systemd unit for it. Above is a working example from a RedHat box at my company.
Last edited by teekay (2013-12-04 07:42:22)

Similar Messages

  • How to specify which Ethernet port on a Mac Pro to send an Ethernet packet

    Hi,
    I am doing some development on a Mac Pro. The Mac Pro has two Ethernet ports on the rear: Ethernet 1 and Ethernet 2.
    I want to specify which of these ports I send a UDP Ethernet packet from.
    In my code I currently create a socket and send data through this. This works fine, but the data (packet) always seems to come out of Ethernet port 1 on the rear of the Mac Pro.
    So, how / where do I set in my code which port (Ethernet 1 or Ethernet 2) on the back of the Mac Pro to send my packet out of?
    Cheers!
    SkinnyC

    It's ok, found this
    http://lists.apple.com/archives/macnetworkprog/2008/Feb/msg00070.html

  • You are unable to log in...; Network Home directories; 10.4 & 10.5 Servers

    I have a solution!
    Note: this is a new post because all previous posts dealing with this topic have been archived, MANY without an answer.
    Problem:
    Users with Network Home directories can't log in. After entering their correct username and password, the following error message appears:
    "You are unable to login to the user account 'username' at this time. Logging in to the account failed because an error occurred."
    Problem occurs with v10.5 Leopard client attempting to login to a Network Home directory hosted on a v10.4 Tiger server.
    _Significant Troubleshooting Symptom:_
    Client mac Console log (all Messages) contains the following entry at the time the user attempted to login to their Network Home directory:
    authorizationhost[509] ERROR | -[HomeDirMounter
    mountNetworkHomeWithURL:attributes:dir:Path:username:] |
    PremountHomeDirectoryWith Authentication( url=afp://server.example.com/Homes, homedir=
    /Network/Servers/server.example.com/Volumes/ServerHardDisk/Homes/username,
    name=username )
    returned 2
    _Computing/Network Environment:_
    v10.5 Leopard server doing: DNS; Open Directory with Kerberos for Single Sign-On; AFP for half of all users' Network Home directories.
    v10.4 Tiger server doing: AFP for the other half of the Network Home directories. Also, note that Open Directory is not running on this server, BUT IT IS CONFIGURED (using Server Admin) as "Connected to a Directory System" and has joined the Kerberos realm on the v10.5 Leopard server.
    v10.5 Leopard clients.
    Solution:
    v10.5 User Management manual
    http://manuals.info.apple.com/enUS/User_Managementv10.5.pdf
    says share points for Network Home directories have to have Guest Access ENABLED. See step 5 on page 117 and step 12 on page 118. Note that these are two different settings, but seem consistent with each other.
    I had followed/complied/set Guest Access according to steps 5 (page 117) and 12 (page 118) on BOTH the v10.5 Leopard AND the v10.4 Tiger servers. The solution that allows users to log on normally is:
    Uncheck/disable Guest Access (as set in step 12 page 118) for the v10.4 Leopard server only. Leave "Share this item using AFP" checked. Uncheck "Allow AFP guest access."
    The above worked for me. Your milage may vary. If anyone knows how to report this to Apple for fixing in the server software and/or clarification in User Management manual, please do. If anyone knows that this solution "breaks" other stuff, please post back.

    Other posts that dealt with this same issue and other potential solutions:
    http://discussions.apple.com/thread.jspa?messageID=5700241&#5700241
    http://discussions.apple.com/thread.jspa?messageID=5784186&#5784186
    http://discussions.apple.com/thread.jspa?threadID=1215039&start=0&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=9204496&#9204496
    http://discussions.apple.com/thread.jspa?threadID=1522353&start=0&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=10226660&#10226660

  • I am using SURPLUSMETER :) I am also using Apple Airport Time Capsule as my Router that is connected to my Satellite dish Internet Modem ... Now on the Surplusmeter I have the option for PPP Modem . Ethernet Port , Airport , Network Card ,

    I am using SURPLUSMETER I am also using Apple Airport Time Capsule as my Router that is connected to my Satellite dish Internet Modem ... Now on the Surplusmeter I have the option for PPP Modem . Ethernet Port , Airport , Network Card , & Adaptor .
    Which one can I use properly to monitor all the wireless Devices in my hous

    Actually, none of the options will do what you are looking for it to do. That is because, this application only monitors the traffic from the device it is hosted on. That would also mean that you would have to run a copy on each computer that will access the Internet on your network; note their individual usages, and then, combine them to get an idea of the total usage.
    However, if you are only interested in the amount of Wi-Fi traffic that only your computer is seeing, then the "AirPort Network Card" option would be the correct choice.

  • How do I add an airport extreme to a cable modem with only one ethernet port, while keeping that port connected to my Mac?

    I have a mac pro connected by ethernet to a cable modem via ethernet.    There is only one ethernet port on the modem.   
    I want to keep the Mac connected via ethernet for speed.    Is there a way that I can add an airport extreme to this set up - for my ipad and roku, and for guests to use - or do I need to buy a router to put between the modem and the mac?
    If I need a router, what kind?
    Thanks.

    The modem connects to the WAN "O" port on an AirPort Extreme router.
    The Mac Pro connects to one of the three LAN <-> ports on the AirPort Extreme router.
    Or if you do not need the ability to connect a hard drive to the USB port on the router, you can save a bit by using an AirPort Express.
    The modem connects to the WAN "O" port, the Mac Pro connects to the LAN <-> port
    Either the AirPort Extreme router or AirPort Express router will allow up to 50 wireless device to connect.
    There are many other wireless modems offered by other manufacturers as well.

  • I have 2 ipods,one for music and the other for old time radio shows.Each had their own file.My computer crashed and I had to buy a new one.Now both ipod files are merged into one.How do I seperate them.

    I have 2 ipods,one for music and the other for old time radio shows.Each had their own file.My computer crashed and I had to buy a new one.Now both ipod files are merged into one.How do I seperate them on the computer?

    Hi Craig
    Unfortunately, in your case, there isn't really a way to separate them as far as I can think.
    You could try restoring from a backup, and choosing an older backup perhaps
    Cheers

  • Hello, I would like to know how to transfer one of my two "membership" to an other computer because I just bought a new Mac.... ? Or how to cancel it on my old laptop so I can activate it on my new computer. Thanks a lot !

    Hello, I would like to know how to transfer one of my two "membership" to an other computer because I just bought a new Mac.... ? Or how to cancel it on my old laptop so I can activate it on my new computer. Thanks a lot !

    Hi Virginie,
    You need to go under the help menu option and sign out from Muse and then install it on the other computer that you want using the creative cloud desktop app.
    - Abhishek Maurya

  • ITunes said my iPod Nano 4G is corrupted when it's in one USB port, but not in the other.

    iTunes said my iPod Nano 4G is corrupted when it's in one USB port, but not in the other. Is the port faulty? Windows 7 PC

    Could just be a loose connection or that the cable itself is going bad.  There are a number of factors that could play into this scenario.
    B-rock

  • I am new to apple products and have just received notice that 2 updates are available.  one for garageband and the other for iPhoto.  it is my understanding that updates are free. why is credit card info requested for these two updates?  help appreciated

    i am new to apple products and have just received notice that 2 updates are available.  one for garageband and the other for iPhoto.  it is my understanding that updates are free. why is credit card info requested for these two updates?  help is appreciated.  thanks, lloyd.

    Have you gone through the process of accepting the iLife apps into your iTunes/Mac App Store account before updating the apps?

  • Cannot update my keynote, pages and numbers from my ipad. I have different accounts, one for app store and other for icloud. What can I do?

    Cannot update my keynote, pages and numbers from my ipad. I have different accounts, one for app store and other for icloud. What can I do?

    You can't merge accounts or transfer iTunes purchases from one Apple ID to another: but there is no problem about using two IDs.
    Use your iCloud ID for iCloud for syncing email, contacts, calendars, bookmarks, and PhotoStream.
    Use your other Apple ID as before for iTunes, iTunes in the Cloud and iTunes Match.
    There's no conflict about doing this, and you won't even notice as Keychain will log you in with the correct ID in each case. It's also better security not to have your iTunes login also your email address, given the number of complaints about hacked iTunes accounts.

  • Need Help setting up "Network Home Directories" or Something Similar

    Alright so, I am sure the answer to my question exists but I have no idea what i am looking for as far as syntax is concerned. I have taken over as tech at a full mac School and have not touched a mac before in my life. I will try my best to give a detailed description without an entire life story.
    My school has 10.4 on laptops which we run a script on to bind to a directory allowing them to access accounts created on our server. That part works fine. The problem we are having is syncing or saving any files/changes to these networked accounts. The accounts seem to have home directories created, i went through workgroup manager and set up login/out and background syncs, and nothing seems to work(Copy/save). This year it would have been nice to have the syncing feature since all student/teacher laptops would go back and forth from home and work. However next year will change a bit since we will keep all student laptops here and the teachers will still take them home. We also have desktops of course which do not move and will be accessed by the students.
    I need to find a way for students to log into the server to access their account and have it automatically pop up displaying their own files/folder on any machine they access since they wont always be at the same machine. considering there will be upwards of 100 students accessing each machine, local syncing for this would not be a good idea. My best guess would be setting up network home directories so they can log into and work directly from the server and have nothing but the original OS installed on their local machine.
    As far as the teachers go, Since they have one laptop the entire year and take them home the syncing method would be the best. That way they can come here, turn on their laptop, automatically sync as they log in, and save everything when they log out (or every so many minutes since some of them close it and just run home). I tried doing this with a student account but could not get it to work. My other problem with this is that the teacher laptops are 10.5 and I have no clue how to bind them to the directory since I was not the one who created the original script which is something i would like to reverse engineer to my standards since it has some nice little things in it I just wish to tweak.
    A short recap of what i need:
    1) Network based accounts with network home directories, nothing locally saved
    2) Network Based accounts with Portable Home Directories, Syncing between local and server files
    3) Bind 10.5 machines to server
    4) Program to read and edit a script.
    I somewhat know the terminology for PHDs and MHDs and have read a bit about those but still cannot get them to work, but I am extremely frustrated with my lack of terminology for NHDs (If that is what they would even be called) and have had a hard time finding any information on how to set them up. The only thing i found was stating that if the server goes down, so do the accounts. Which isnt a problem since we have multiple servers as well as last ditch local accounts for students to just access the computers.
    As far as i know, our servers are running LDAPv3 w/ OD, maybe even not with OD, I really don't know. If anyone can give me any help with this it would be much appreciated. If you need any additional information let me know and I will try my best to get it to you. I may even be willing to wipe everything and start fresh if it is required since these havent been used much in over 2 years, only for drive mounting storage.

    I received some information on another forum, however I am still stuck.
    So i rebound a laptop to the server via Directory Access, created a new account using Workgroup Manager, set the Home Point in WGM for the Account to a specified folder on the server's raid and no luck.
    The account authenticates with the server, but it saves everything locally and ignores the NHD. Anyone with any ideas?

  • ARD 3.2, network home directories and two admin workstations = problems

    Hello:
    I've got a situation where I've got two ARD admin workstations in two separate classrooms where the instructors have network home directories. If an instructor switches from one machine to another after setting up ARD on the first (i.e. entering a password, making computer lists, etc.), they are asked to enter their ARD password and they are not allowed in no matter what password they enter. It seems that there is some machine specific information in the ~/Library/Preferences/com.apple.RemoteDesktop.plist file because the only way around the problem that I've found is to delete this file and re-enter a password. This creates a new plist file, but the problem comes back as soon as the user uses ARD on the other admin workstation. Each machine has a separate (licensed) copy of ARD on it.
    What's the right way to use ARD with admins that have network home directories?

    Hi,
    You mentioned the machines are all from a single image. I realize you are an experienced ARD user. However, there are quirks in this app at any stage of development. I'm sure you already applied a unique name to the shared network name and have no DHCP conflicts as well as checked that all the accounts, not just the admin account that permissions are checked. Although you may have all the correct ports addressed and configured, there is no accurate accounting for the gremlins. These play havoc across the network. Sometimes the only thing you can do is go to the machine and walk through the settings as if it was the first time. I can't tell you how many times a problem has resolved itself after just logging into the admin and redoing the settings. I mean the exact settings that are already selected. Sometimes the settings were actually wrong, even ones that came from an identical image. Like forgetting to select the observe and control selections in the sharing options for all the users. Other times it was simply deselecting and reselecting the options and restarting that snapped the machine out of the funk.
    Aside from the occasional discovery of admin setup issues, I live by the motto "the simplest solutions are usually the best, and should be tried first". Glitches do happen though. Sometimes running the scanner and reselecting and dragging the same machine into your user lists can refresh a connection that is not acting properly. I have detected countless quirks that cause strange side effects. Do a get info on the specific machine and delete the IP, then make sure you have the "name".local in the DNS name field. Re-enter the admin or try a user account name in this experiment and test this. This has given me clues to setup issues before having to go to the machine. I know this stuff sounds simplistic but it has solved most of my issues.
    Good Luck

  • ITunes library keeps disappearing with network home directories&MacBookPro

    I've been using iTunes with network home directories for years. My wife & I have network home directories on our Macs and we can log into any of our Macs with our network home directories. The actual iTunes Music folder is also on the network server and shared between our user accounts.
    This has always worked fine with my G4 cube, my PowerMac G5 and my PowerBook. As long as I only open iTunes on one machine at a time, I can open it on any of my machines and everything works great.
    However, with my new MacBook Pro, my library keeps disappearing and I have to reimport it from the XML file every couple of days. Seems to erase my iPod Shuffle too at the same time (maybe it's triggered by plugging in my iPod).
    Any ideas? Is there an endian issue with the library?
    I can't figure out how to get any feedback on what's happening. Is there a debug log file I can enable?
    PowerMac G5, PowerBook, MacBook Pro   Mac OS X (10.4.7)  

    I've got one better...I imported all my CDs onto iTunes. Then I upgraded. Here is what happened...All songs remained listed, however when I would click onto a song, a ! mark appears in front of the check mark and a window pops up saying "song could not be used because the original file could not be found. Would you like to locate it?" Well this occurred on 75% of my songs. Apple info led me to believe I could use my iPod as a hard drive. So I tried hooking up the pod to my computer. Well, from 3688 songs, I was down to just over 200, so I guess that is an even higher percentage.
    What iTunes did was made a folder in "my music" with years 1955 to 2007. In those different years folders are the CDs that were released in that year. They have to be opened, each individual song, and re entered to itunes. All this I discovered on my own. No help from Apple. Not to mention what a royal pain in the *** process, which I am still in the process of doing. And don't even get me started with Artwork

  • Folder Redirection not working on SMB Network Home Directories

    I've setup network home directories on a 10.7.3 server. NHDs are available via SMB currently. I'm trying to setup folder redirection via MCXRedirector for both the ~/Library/Cache folder and ~/Downloads and redirect them to the local client. Client is 10.7.3 joined to OD. I'm using Login Redirection and the option to delete the existing folder and create a symlink. I used these instructions to create the redirectors: http://www.afp548.com/article.php?story=MCXRedirector
    When NHDs are available via SMB, the folders are created on the local client, but the symlinks aren't created in the NHD. I can switch the NHDs to be available via AFP, and then it works fine. I can switch back to SMB and the symlink stays in place and appears to work with no issue.
    Am I missing something here? I can't find any documentation that says I can't use MCXRedirector with SMB shares, and I see a number of posts where it appears that people are using it successfully... so I'm not sure what is wrong? Any help or suggestions is appreciated.

    Hi James,
    For folder redirection issues, we can go to Windows Logs\Application in Event Viewer to check if some related error events were logged.  Besides, we can also run cmd command
    gpresult/v or gpresult/z to collect group policy result to check if something goes wrong.
    Regarding how to configure folder redirection, in my opinion, the following article provides a good guide.
    Configuring Folder Redirection
    http://technet.microsoft.com/library/cc786749.aspx
    Best regards,
    Frank Shen

  • Unable to use network home directories on a 2nd volume

    Hi,
    I am having a problem hosting network home directories on 10.4.4 server. Through the help of AFP 548's instructions I have had them working fine when the users folder is at /users however I would like the data stored on another hard drive for easy backups, etc. But when I set this up I just get the unable to connect due to an error message on the client machines.
    I have tried setting up another folder on the boot volume and that works fine so I think the settings I am inputting are correct but as soon as I select a folder off the boot drive I run into problems again.
    Any ideas?

    Any ideas?
    Yes, but it might also be helpful to know specifically what error message your users are getting when they try to log in.
    If you've correctly set up your share point and network mount record as criss describes but you're still having problems, it may be due to the length of the path to the user's home folder. For more information on that point, see KnowledgeBase article number 107695.
    One question: can your users find their home directories when they log in to the server using Go > Connect to Server in the Finder?
    David Walton

Maybe you are looking for

  • Installing New Microsoft Office Over Old?

    I bought Microsoft Office 2008 which I want to install on my external HD which is running Tiger. But on my old internal HD I was running Office 2001. I thought I'd have to re-install that Office onto my new HD but that didn't seem to work. When I ope

  • The menu button on my tablet does not appear when using firefox Aurora

    I have a tablet Android v4.0.3 and I installed Firefox 15c - Aurora via the downloaded apk file 1. There is no entry in my list of application 2. Firefox does not invoke the menu "soft button" on my tablet. I see the backup, HomePage and ActiveApplic

  • Saving Lightroom Mobile synced photos to existing library system?

    This should be really straightforward but I can't figure it out. When I import photos from my DSLR, Lightroom saves them into a library structure (Pictures > 2104 > 08 > 07). This works for me, as it keeps everything together in the one place, easy t

  • DOES YOSEMITE UPGRADE IS COMPATIBLE WITH IPOD TOUCH 4TH GEN?

    DOES YOSEMITE UPGRADE IS COMPATIBLE WITH IPOD TOUCH 4TH GEN AND NANO 2ND GEN?

  • How to read out data via usb

    Hello, i am trying to get the measurements of a dial indicator, "MarCator 1075", product of Mahr Co. via USB-Cable. I installed all the drivers and MAX shows that its a COM-Device and its working properly. So i configured the settings: baud rate 4800