[ale] Ethernet / DSL help...

da Black Baron wyldechylde at geocities.com
Sat Jul 8 23:20:12 EDT 2000


Scott Nolde picked a booger and wagged it on the end of their finger as they quoth:

 
> Do you have both NICs assigned to different subnets?  My eth0 is on a
> 24.31.x.y, yet my eth1 is 192.168.1.x subnet.

This is what I initially set my eth0 device to:

# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the 
# eth0 interface.

# Edit these values to set up a static IP address:
IPADDR="0.0.0.0"	# REPLACE with YOUR IP address!
NETMASK="255.255.255.0"	# REPLACE with YOUR netmask!
NETWORK="0.0.0.0"	# REPLACE with YOUR network address!
BROADCAST="0.0.0.0"	# REPLACE with YOUR broadcast address, if you
			# have one. If not, leave blank and edit below.
GATEWAY="0.0.0.0"	# REPLACE with YOUR gateway address!

Which is initialized by pppoe to:


eth1      Link encap:Ethernet  HWaddr 00:A0:24:40:02:37  
          inet addr:197.0.0.18  Bcast:197.0.0.31  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0x300 

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:97 errors:0 dropped:0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:208.61.154.254  P-t-P:208.61.154.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:11449 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

And this is my routing table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

adsl-61-154-1.a *               255.255.255.255 UH    0      0        0 ppp0
default         197.0.0.17      255.255.255.240 UG    1      0        0 eth1
197.0.0.16      *               255.255.255.240 U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         adsl-61-154-1.a 0.0.0.0         UG    0      0        0 ppp0





 
> Do you have ipchains setup for forwarding?
> 

No, I was following the HOWTO's suggestion that I get the two boxes
communicating with each other before trying to get routing started.  Do you
think I should go ahead and try to set up routing?  

--
Nothing so needs reforming as other people's habits." -- Mark Twain
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list