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
[EMAIL PROTECTED] network-scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:7D:EB:BC:BE
inet addr:210.x.x.14 Bcast:210.x.x.15 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:976191 errors:0 dropped:0 overruns:0 frame:0
TX packets:1017588 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:167080249 (159.3 Mb) TX bytes:361156263 (344.4 Mb)
Interrupt:10 Base address:0xa000
eth0:1 Link encap:Ethernet HWaddr 00:E0:7D:EB:BC:BE
inet addr:192.168.168.3 Bcast:192.168.168.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xa000
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:5104 errors:0 dropped:0 overruns:0 frame:0
TX packets:5104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:512676 (500.6 Kb) TX bytes:512676 (500.6 Kb)
[EMAIL PROTECTED] network-scripts]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
210.x.x.12 0.0.0.0 255.255.255.252 U 0 0 0
eth0
192.168.168.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 192.168.168.1 0.0.0.0 UG 1 0 0
eth0
[EMAIL PROTECTED] network-scripts]#
Where 192.168.168.1 is my LAN IP of ADSL router.
I want ip 210.x.x.14 should get pinged from anywhere in world.
regards,
-Yash
Regards,
-Yash
>
> --
> 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