Guillermo Moyna on Sun, 12 Aug 2001 19:51:56 -0400 |
*** NOTE: This bounced back from Nothing But Net, so I'm trying again... *** [Warning: Long-winded ramble about routing follows. If you want to skip this, head down about 7 paragraphs, to the next quoted portion.] Thanks for the long ramble - Very didactic, really. Now, I have pretty much made up my mind as to what I want: a) Instead of setting up a proxy server, which will have all the problems pointed out by Bill, I think the easiest thing to do is just to set another IP for eth0 and then set up a table with static routes to the servers with the databases that goes thorugh the 10.1.x.x gateway. In that way, they'll beleive is from within the USP firewall and allow document downloads. b) Then, users will have to a) log into tonga using telent, get their stuff with lynx, and then use fetch or whatever to get the documents to their home machine. Although navigating through text is sometimes aggravating, it will save a lot of time for those using dial-up connections. Now, I'm still having problems making this work, and here is were I need help. First, the following command works: /sbin/ifconfig eht0:1 10.1.20.30 up When I try '/sbin/ifconfig' alone, I get: eth0 Link encap:Ethernet HWaddr 00:A0:C9:93:31:4A inet addr:208.7.154.206 Bcast:208.7.154.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23132 errors:0 dropped:0 overruns:0 frame:0 TX packets:465 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:11 Base address:0xe000 eth0:1 Link encap:Ethernet HWaddr 00:A0:C9:93:31:4A inet addr:10.1.20.30 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:60 errors:0 dropped:0 overruns:0 frame:0 TX packets:60 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 And '/sbin/route' gives me: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 208.7.154.206 * 255.255.255.255 UH 0 0 0 eth0 208.7.154.0 * 255.255.255.0 U 0 0 0 eth0 10.0.0.0 * 255.0.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 208.7.154.254 0.0.0.0 UG 0 0 0 eth0 Now, I also made a static-route file in /etc/sysconfig that looks like: any net 216.200.143.20 netmask 255.255.255.255 gw 10.1.1.254 any net 216.143.112.80 netmask 255.255.255.255 gw 10.1.1.254 any net 198.81.200.2 netmask 255.255.255.255 gw 10.1.1.254 any net 209.67.7.112 netmask 255.255.255.255 gw 10.1.1.254 In any event, it's not working. According to a site I found that reports IPs, I'm still going out as 208.7.154.206, tonga's default address, which goes out through the wrong gateway... Any ideas? Thanks! 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 - - - - -- --- -----------=================+
|
|