Create /etc/hostname.<interface> files for each interface.Quote:>how do you add IP's ( on different subnets ) to two different NIC's in the
>same machine... basically a bastion...
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
> Create /etc/hostname.<interface> files for each interface.
> Genuity, Burlington, MA
> *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
> Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
> Not unless you have some reason to.
The /etc/hostname.<interface> files are read by startup scripts whichQuote:> the machines will be on two different networks and two different
> subnets. like a firewall, or bastion host. how does solaris know the
> difference between the networks, or is this done through ifconfig?
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< Please move on, ...nothing to see here, please disperse >
Ok I must be dense this week I just can't make this work and reading
the routing HOW-TO doesn't seem to help me so could someone please
tell me what's up or is this impossible.
I have a linux machine behind a NAT router the network is 10.1.1.0,
the router is 10.1.1.1 and the server is 10.1.1.6, we're converting to
another DSL line but I need to maintain functionality for a few days
over both lines so people on the internet can get in over both lines.
So I setup another NAT router at 10.1.1.254 and poked some holes
through it to my server. Now obviously I can't just point the holes to
10.1.1.6 and hope it works since the incoming packet from 10.1.1.254
will be responded to over the 10.1.1.1 gateway by the server so I
setup a second IP on the server; 10.1.1.253 and pointed the second NAT
router at that. I know I need to add a route for that back to the
10.1.1.254 gateway but I can't seem to get the correct configuration.
I know the answer is right in front of me but I just can't get it, any
help would really be appreciated.
-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
10. two IP's one NIC