On Wed, 2003-08-27 at 14:26, Yashpal Nagar wrote:
> Dear Arindam,
> 
>   ----- Original Message -----
> From: "Arindam Dey" <[EMAIL PROTECTED]>
> To: "Yashpal Nagar" <[EMAIL PROTECTED]>; "The Linux-Delhi mailing list"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, August 27, 2003 10:33 AM
> Subject: Re: [ilugd] Building a module
> 
> 
> > On Tue, 2003-08-26 at 21:24, Yashpal Nagar wrote:
> > > Dear All,
> > >
> > > I need to recompile the kernel 2.4.22, with ip_alias.o support for some
> > > specific reason. Recompiled two times with even every options in
> networking
> > > related but could't figure out where it exits.
> >
> > > Can someone help me out in finding what/which option has to be _ENABLED_
> > > for ip_alias.o support in kernel.
> >
> > If I am not mistaken in 2.4.x kernel there is no module called
> > ip_alias.I believe it has deprecated try google.com  You could check out
> > /etc/sysconfig/network-scripts/ifup-aliases in RH 9 PC. The support is
> > just there although from where it comes from dunno.
> >
> > This works just fine without ip_alias.o module
> >
> > ifconfig eth0:1 192.168.3.2 netmask 255.255.255.0
> 
> I know it works fine.
> Problem comes suppose if i adds the
> /sbin/route add -host 192.168.168.3 dev eth0:1
> 
> It still show me the entry "Iface" as eth0 not eth0:1 in 'route -n'
> My question is will route program should show eth0:1 or eth0:2 as the Iface
> parameter?
> I am using two ISPs with same linux box. Both ISPs are connected to switch
> and my linux box too.
> One ISP is ADSL and another one is broadband.
> When i assign both IPs(one private & one public) no one can ping to my
> broadband IP.
> 
> Here is details of 'route -n' & ifconfig

OK here goes my ifconfig and route output

[IFCONFIG]

eth0      Link encap:Ethernet  HWaddr 00:D0:B7:C2:AF:ED
          inet addr:192.168.1.10  Bcast:192.168.1.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44292806 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44887247 errors:26 dropped:0 overruns:0 carrier:26
          collisions:0 txqueuelen:100
          RX bytes:223345784 (212.9 Mb)  TX bytes:3314271004 (3160.7 Mb)
          Interrupt:11 Base address:0xdf00 Memory:feafe000-feafe038
                                                                                       
                                      
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:C2:AF:EC
          inet addr:202.188.158.195  Bcast:202.188.158.255 
Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47015117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45804571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3731682984 (3558.8 Mb)  TX bytes:3766914373 (3592.4
Mb)
          Interrupt:11 Base address:0xde80 Memory:feafd000-feafd038
                                                                                       
                                      
eth1:1    Link encap:Ethernet  HWaddr 00:D0:B7:C2:AF:EC
          inet addr:202.188.158.221  Bcast:202.188.158.255 
Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47015117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45804571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3731682984 (3558.8 Mb)  TX bytes:3766914373 (3592.4
Mb)
          Interrupt:11 Base address:0xde80 Memory:feafd000-feafd038
                                                                                       
                                      
eth1:2    Link encap:Ethernet  HWaddr 00:D0:B7:C2:AF:EC
          inet addr:202.188.158.199  Bcast:202.188.158.255 
Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47015117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45804571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3731682984 (3558.8 Mb)  TX bytes:3766914373 (3592.4
Mb)
          Interrupt:11 Base address:0xde80 Memory:feafd000-feafd038
                                                                                       
                                     
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5882312 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5882312 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2975702635 (2837.8 Mb)  TX bytes:2975702635 (2837.8
Mb)

[/IFCONFIG]

[ROUTE]
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
202.188.158.192 *               255.255.255.192 U     0      0        0
eth1
192.168.1.0     *               255.255.255.0   U     0      0        0
eth0
169.254.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         202.188.158.193 0.0.0.0         UG    0      0        0
eth1
default         202.188.158.193 0.0.0.0         UG    1      0        0
eth1
default         202.188.158.193 0.0.0.0         UG    1      0        0
eth1
[/ROUTE]

Although I have only ONE ISP. 

-- 
Arindam Dey

The mind is not a vessel to be filled
but a fire to be kindled.

GPG FPR: B8E3 219E F129 F970 F4A7  BC50 9636 504A BEDF 5739


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to