/etc/modules.conf says: > alias eth0 eepro100 > alias eth1 3c59x try switching ...
modify /etc/modules.conf alias eth0 3c59x alias eth1 eepro100 On Fri, 2003-10-17 at 20:19, Fritz Mesedilla wrote: > I have a new problem. > I have 2 network cards: 1 built-in with the motherboard and 1 3com 3c509x. > I was able to make iptables work for me. > > Now the problem comes when assigning ip addresses and rules based on network cards. > > eth0: 192.168.247.233 - internal lan, no gateway > eth1: 192.168.247.232 - external access, with gateway access > > I have squid running on the server. When people try to use squid on 192.168.247.233 > they can connect properly but I notice on /var/log/kernel that IN=eth1 > DST=192.168.247.233 > > And route gives me: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.0.0 * 255.255.0.0 U 0 0 0 eth1 > 192.168.0.0 * 255.255.0.0 U 0 0 0 eth1 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 192.168.247.1 0.0.0.0 UG 0 0 0 eth1 > > ifconfig produces the correct settings: > eth0 Link encap:Ethernet HWaddr 00:02:55:EE:C3:91 > inet addr:192.168.247.233 Bcast:192.168.255.255 Mask:255.255.0.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:5966 errors:0 dropped:0 overruns:0 frame:0 > TX packets:177 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:3947472 (3.7 Mb) TX bytes:21673 (21.1 Kb) > Interrupt:10 Base address:0xa000 > > eth1 Link encap:Ethernet HWaddr 00:10:5A:D0:19:16 > inet addr:192.168.247.232 Bcast:192.168.255.255 Mask:255.255.0.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:26729 errors:0 dropped:0 overruns:0 frame:0 > TX packets:21025 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:6420599 (6.1 Mb) TX bytes:17324985 (16.5 Mb) > Interrupt:10 Base address:0xb800 > > On pinging 192.168.247.233, it produces a successful result but when I pull the plug > on eth1 it stops working. So why does ifconfig say 192.168.247.233 is on eth0 when I > pull the rj45 on eth1 it stops responding? > > /etc/modules.conf says: > alias eth0 eepro100 > alias eth1 3c59x > > Hope you can help me again. Thanks. > > fritz <www.mesedilla.com> > --- > + Basta Ikaw Lord > > > ---------------------------------------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the sender immediately by e-mail and delete this e-mail from your > system. Please note that any views or opinions presented in this > email are solely those of the author and do not necessarily represent > those of the company. Finally, the recipient should check this email > and any attachments for the presence of viruses. The company accepts > no liability for any damage caused by any virus transmitted by this > email. > > Overture Media, Inc. > Direct Line: (632) 635-4785 > Trunkline: (632) 631-8971 Local 146 > Fax: (632) 637-2206 > Level 1 Summit Media Offices, Robinsons Galleria EDSA Cor. Ortigas Ave., Quezon City > 1100 > > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
