Route setting for Mac

In the DOS system, there is a route command.


We want to know if there is any method in Mac

that do the same function as the route command.


We have an encryption tunnel server (let the IP

address of this server be 111.111.11.11). And we

want to send all traffic to another tunnel server

(222.222.22.22) through our tunnel server. In the

DOS, we enter the following command:


route -f add 222.222.222.0 mask 255.255.255.0 111.111.11.11


We know that specifying 111.111.11.11 as the gateway

for the TCP/IP setting is one way. But we want to know

if there is a method like DOS command.


niconoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

niconoAuthor Commented:
Adjusted points to 150
0
weedCommented:
i think youre going to run into a HUGE brick wall with that one considering the macOS doesnt use a base layer such as DOS. therefore you wont have a command anything like dos. Usually you need a router such as the vicom internet gateway or vicom internet router. the gateway does both. apple also has a router out but im not sure if its compatible with later versions of tcp/ip.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Networking

From novice to tech pro — start learning today.