[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
*** 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.]
/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
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
- - - - -- --- -----------=================+
______________________________________________________________________ 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