Re: Two IPs on wlan0 connecting to on one wireless accesspoint
- From: Miguel Angel Cañedo <mcanedo grupogcm com>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: Two IPs on wlan0 connecting to on one wireless accesspoint
- Date: Thu, 03 Jul 2008 11:07:15 -0500
El mié, 02-07-2008 a las 13:00 -0400, Dan Williams escribió:
> On Fri, 2008-06-27 at 18:17 -0500, Miguel Angel Cañedo wrote:
> > I'm using NM-0.7-svn
> > as per de instructions here:
> > http://ubuntuforums.org/showthread.php?t=797059
> >
> >
> > I want to have two IP's when I connect to a certain access point, in
> > order to access two networks.
> >
> > I have specified both IP's on the corrsponding "IPv4 settings" tab.
> >
> > But I can only access one of the networks.
> >
> > (See attachement screenshot with my settings and results)
> >
> > Am I doing something wrong?
> >
> > Or is such feature not ready yet?
>
> It should be working. But note that 'ifconfig' will never show you
> secondary ip addresses. Can you get the output of '/sbin/ip addr dev
> <interface>' instead? Also, the output of '/sbin/route -n' would be
> quite useful.
>
> Dan
>
Here it is:
mcanedo xps-mac:~$ route -n
Tabla de rutas IP del núcleo
Destino Pasarela Genmask Indic Métric Ref Uso
Interfaz
192.168.1.149 0.0.0.0 255.255.255.255 UH 50 0 0
wlan0
172.16.0.1 0.0.0.0 255.255.255.255 UH 50 0 0
wlan0
192.168.1.254 0.0.0.0 255.255.255.255 UH 50 0 0
wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0
tap0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0
wlan0
172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0
wlan0
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0
wlan0
mcanedo xps-mac:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
qlen 1000
link/ether 00:1d:09:3b:02:ad brd ff:ff:ff:ff:ff:ff
3: wmaster0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc ieee80211
qlen 1000
link/ieee802.11 00:1c:bf:c9:fe:3b brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
qlen 1000
link/ether 00:1c:bf:c9:fe:3b brd ff:ff:ff:ff:ff:ff
inet 172.16.1.169/16 brd 172.16.255.255 scope global wlan0
inet 192.168.1.169/24 brd 192.168.1.255 scope global wlan0
inet6 fe80::21c:bfff:fec9:fe3b/64 scope link
valid_lft forever preferred_lft forever
5: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
qlen 500
link/ether 00:ff:73:fc:4f:c4 brd ff:ff:ff:ff:ff:ff
inet 172.16.1.179/24 scope global tap0
inet6 fe80::2ff:73ff:fefc:4fc4/64 scope link
valid_lft forever preferred_lft forever
6: tap1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 500
link/ether 00:ff:60:a6:0a:d4 brd ff:ff:ff:ff:ff:ff
8: tap2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 500
link/ether 00:ff:8f:5b:39:1f brd ff:ff:ff:ff:ff:ff
...seems OK, but I can not ping the pc's on the 192.168.1.x network...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]