FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 02-08-2008, 10:08 PM
"Donatas G."
 
Default add default gateway through eth0:avah interface?

I was trying to setup internet connection sharing by utilizing the
automatically acquired ip's by my two cable-connected feisty boxes, but
failed. I guess it is because the gateway gets added through eth0 interface
and not through eht0:avah pseudo interface:

================================================
dg@pieva:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
inet6 addr: fe80::250:8dff:fe50:a37/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43209 (42.1 KiB) TX bytes:19886 (19.4 KiB)
Interrupt:17 Base address:0xe400
eth0:avah Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
inet addr:169.254.3.150 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0xe400
# Added the default gateway:
dg@pieva:~$ sudo route add default gw 169.254.9.24
dg@pieva:~$ route
Kernel IP routeing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 eth0
default 169.254.9.24 0.0.0.0 UG 0 0 0 eth0
default * 0.0.0.0 U 1000 0 0 eth0
================================================

So I had to resort to static IP addresses...

Is there a way to make the "route add" command specify the eth0:avah
interface?
--
Donatas Glodenis
http://dg.lapas.info

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-11-2008, 02:13 PM
"Donatas G."
 
Default add default gateway through eth0:avah interface?

Does anyone have any idea? Of course static IP's are a workaround, but the
blessed avahi-autoipd is a workaround around static IP's, and I like that...

DG

On Saturday 09 February 2008 01:08:20 Donatas G. rašė:
> I was trying to setup internet connection sharing by utilizing the
> automatically acquired ip's by my two cable-connected feisty boxes, but
> failed. I guess it is because the gateway gets added through eth0 interface
> and not through eht0:avah pseudo interface:
>
> ================================================
> dg@pieva:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
> inet6 addr: fe80::250:8dff:fe50:a37/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:87 errors:0 dropped:0 overruns:0 frame:0
> TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:43209 (42.1 KiB) TX bytes:19886 (19.4 KiB)
> Interrupt:17 Base address:0xe400
> eth0:avah Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
> inet addr:169.254.3.150 Bcast:169.254.255.255 Mask:255.255.0.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Interrupt:17 Base address:0xe400
> # Added the default gateway:
> dg@pieva:~$ sudo route add default gw 169.254.9.24
> dg@pieva:~$ route
> Kernel IP routeing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface link-local * 255.255.0.0 U 0 0
> 0 eth0 default 169.254.9.24 0.0.0.0 UG 0 0
> 0 eth0 default * 0.0.0.0 U 1000 0
> 0 eth0 ================================================
>
> So I had to resort to static IP addresses...
>
> Is there a way to make the "route add" command specify the eth0:avah
> interface?
> --
> Donatas Glodenis
> http://dg.lapas.info



--
Donatas Glodenis
http://dg.lapas.info

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-11-2008, 03:05 PM
Derek Broughton
 
Default add default gateway through eth0:avah interface?

Donatas G. wrote:

> I was trying to setup internet connection sharing by utilizing the
> automatically acquired ip's by my two cable-connected feisty boxes, but
> failed. I guess it is because the gateway gets added through eth0
> interface and not through eht0:avah pseudo interface:
...
> eth0:avah Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
> inet addr:169.254.3.150 Bcast:169.254.255.255 Mask:255.255.0.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Interrupt:17 Base address:0xe400

I'm still trying to make some headway in understanding avahi, but one thing
I can tell you that might help - that interface is "eth0:avahi",
not "eth0:avah". What you're seeing is just an artifact of the formatting!
--
derek


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-11-2008, 03:08 PM
Nils Kassube
 
Default add default gateway through eth0:avah interface?

Donatas G. wrote:
> > I was trying to setup internet connection sharing by utilizing the
> > automatically acquired ip's by my two cable-connected feisty boxes,
> > but failed. I guess it is because the gateway gets added through eth0
> > interface and not through eht0:avah pseudo interface:
> >
> > ================================================
> > dg@pieva:~$ ifconfig
> > eth0:avah Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
> > inet addr:169.254.3.150 Bcast:169.254.255.255
> > Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > Interrupt:17 Base address:0xe400
> > # Added the default gateway:
> > dg@pieva:~$ sudo route add default gw 169.254.9.24

Not sure if this would work:

sudo route add default gw 169.254.9.24 dev eth0:avah


Nils

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-13-2008, 10:09 AM
"Donatas G."
 
Default add default gateway through eth0:avah interface?

On Monday 11 February 2008 18:05:30 Derek Broughton rašė:
> Donatas G. wrote:
> > I was trying to setup internet connection sharing by utilizing the
> > automatically acquired ip's by my two cable-connected feisty boxes, but
> > failed. I guess it is because the gateway gets added through eth0
> > interface and not through eht0:avah pseudo interface:
>
> ...
>
> > eth0:avah Link encap:Ethernet HWaddr 00:50:8D:50:0A:37
> > inet addr:169.254.3.150 Bcast:169.254.255.255
> > Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > Interrupt:17 Base address:0xe400
>
> I'm still trying to make some headway in understanding avahi, but one thing
> I can tell you that might help - that interface is "eth0:avahi",
> not "eth0:avah". What you're seeing is just an artifact of the formatting!


OK, thanks, it will be some time before I am in a situation where I need to
share internet, but once I am, I will surely try to apply the suggestions and
post the results.

--
Donatas Glodenis
http://dg.lapas.info

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org