[ubuntu-it] Forwarding port

Carachi83 carachi83 a gmail.com
Mar 9 Set 2008 13:42:20 BST


il problema e che io non riesco a sapere il mio ip..
se faccio ifconfing mi appare cosi':

br0       Link encap:Ethernet  HWaddr 00:05:1c:09:63:35 
          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1977133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1528792 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:0
          Byte RX:2183582250 (2.0 GB)  Byte TX:340622932 (324.8 MB)

eth0      Link encap:Ethernet  HWaddr 00:05:1c:09:63:35 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:459986 errors:0 dropped:0 overruns:0 frame:0
          TX packets:268453 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000
          Byte RX:677892349 (646.4 MB)  Byte TX:17451377 (16.6 MB)
          Interrupt:16 Indirizzo base:0xd800

eth1      Link encap:Ethernet  HWaddr 00:15:f2:16:ef:f4 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1517974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1262152 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000
          Byte RX:1533536708 (1.4 GB)  Byte TX:324963110 (309.9 MB)
          Interrupt:23 Indirizzo base:0xa000

eth0:avahi Link encap:Ethernet  HWaddr 00:05:1c:09:63:35 
          inet addr:169.254.2.238  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16 Indirizzo base:0xd800

lo        Link encap:Loopback locale 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3459 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3459 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:0
          Byte RX:215893 (210.8 KB)  Byte TX:215893 (210.8 KB)


come puoi vedere l'interfaccia eth1, quella su cui arriva il cavo dal 
router è privo di IP....


Luca Lorenzetto ha scritto:
> Il 9 settembre 2008 13.00, Carachi83 <carachi83 a gmail.com> ha scritto:
>   
>> ho aggiunto a /etc/network/interfaces queste righe...
>>
>> iface br0 inet dhcp
>> bridge_ports eth1 eth0
>> auto br0
>>
>>
>> creano un brigde non so se in automatico creano anche un NAT....
>>
>>     
>
> se hai fatto un bridge non serve aprire porte a niente. fai
> semplicemente modo che il tuo router giri la porta all'ip del pc che
> vuoi pubblicare
>
>
>
>   
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: https://lists.ubuntu.com/archives/ubuntu-it/attachments/20080909/e3957794/attachment.htm 


Maggiori informazioni sulla lista ubuntu-it