Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Routing Problem Mac OSX 10.8

  • 11-09-2013 09:52PM
    #1
    Registered Users, Registered Users 2 Posts: 6,167 ✭✭✭


    Hi all, hopefully someone might have an answer to help out a newbie to network configurations.

    I have a VMWare (ESXi 5.1) machine with 3 VMs - configured as follows:

    VM1: Windows 7 Enterprise with 1 NIC.
    IP: 172.28.45.2
    Gateway: 172.28.45.8/24
    DNS: 172.28.45.8

    VM2: Windows Server 2008 with 2 NICs.
    Installed Roles: - DNS - AD - File Services - RRAS
    NIC 1 config. IP 172.28.45.8/24
    NIC 2 config. IP 172.18.0.45/16
    Route added: 192.168.1.0/24 172.18.0.8

    VM3: Windows Server 2008 with 2 NICs.
    Installed Roles: - DNS - RRAS
    NIC 1 config. IP 172.18.0.8/16
    NIC 2 config. IP 192.168.1.105/24
    Route added: 172.28.45.0/24 172.18.0.45

    Because my BB Router (3 MiFi thing) doesn't support much in the way of configuration I'm unable to add any routes to go back. So as an experiment I added decided to limit myself to pinging only the iMac on 192.168.1.101, the goal is to be able to ping the Mac from VM1. So I added 2 routes to the network interface on the Mac to allow it to reply to both the 172.18/16 network and the 172.28.46/24 network. To this end I did:

    sudo route -n add 172.18.0.0/16 192.168.1.105
    sudo route -n add 172.28.45.0/24 192.168.1.105

    I've checked that the routes are there (I know they're not persistent) by doing:
    netstat -n but they're not in that list. However if I go to the Netstat tab in Network Utility > Display Routing Table Information both these entries are present. But I still cannot ping the Macs IP 192.168.1.101 from anything but VM3.

    I think it's to do with the Mac having a Gateway address of the BB router in its interface but thought that the specific route for these networks would over-ride it ?

    Can anyone see where I've gone wrong ?

    Thanks in advance.

    Ken


Advertisement