Guillermo Moyna on Sun, 12 Aug 2001 17:55:11 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Accessing IP-dependent pages from home...


If tonga's existing nic is plugged into the same segment that's doing
10.1.x.x DHCP, you don't need a second nic.  Just bring up a secondary IP
in that range:

 ifconfig eth0:1 10.1.2.3 up

..that is, of course, wrong, because it's not using dhcp.  But I'm not sure
how to do one IP via DHCP, and one static.

OK, this worked (I used 10.1.20.30 for now...). Now, how do you set this permanently?


Then set your routing up so that the IPs for the hosts you're trying to
connect to are routed through the 10.x gateway, and set your default
gateway tonga is currently using.

How? Where's the 'resolv.conf' equivalent for the gateways, and what is the format? I know I can do it one by one using linuxconf, but is there any easy way to tell all outgoing HTTP requests to go through the 10.x gateway?


Thanks in advance!

Guillermo

+==================-------------- --- -- -  -    -     -
Guillermo Moyna, PhD
Department of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 South 43rd Street
Philadelphia, PA 19104-4495

 "The only existing things are atoms and empty space.
  All else is mere opinion" - Democritus, 370 B.C.

Office: Grifith Hall 360
Phone:  (215) 596-8526
Fax:    (215) 596-8543
e-mail: g.moyna@usip.edu
WWW:    http://tonga.usip.edu/gmoyna/index.html
        http://www.usip.edu/chemistry/faculty/moyna.asp

     -     -   -  - -- --- -----------=================+


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug