How do I delete a route in OS X 10.5

Posted by authormichael-olsen-craig on Server Fault See other posts from Server Fault or by authormichael-olsen-craig
Published on 2010-04-17T21:07:27Z Indexed on 2010/04/17 21:13 UTC
Read the original article Hit count: 363

Filed under:
|
|

I somehow configured my Mac to route all requests for a particular IP Name (sample.com) to the loopback address (127.0.0.1). Now I'm trying to remove this, but can't determine where to do it.

  1. There is no entry for it under /etc/hosts.
  2. The routing table shows that it is mapping the IP Name to the IP address of the Mac.

Routing table output below:

Internet:

Destination Gateway Flags Refs Use Netif Expire

default 192.168.2.1 UGSc 4 1 en0

127 sample.com UCS 0 0 lo0

sample.com sample.com UH 1 7093 lo0

169.254 link#4 UCS 0 0 en0

192.168.2 link#4 UCS 6 0 en0

192.168.2.1 0:11:22:22:3f:fa UHLW 20 55565 en0 1070

192.168.2.15 tsema.org UHS 0 9 lo0

192.168.2.255 link#4 UHLWb 4 84777 en0

Any help would be greatly appreciated!

© Server Fault or respective owner

Related posts about macosx

Related posts about routing