877: 2 vlan? 1 ip pubblico e 1 ip privato?

Configurazioni per connettività ADSL, ISDN e switch per privati e piccole network

Moderatore: Federico.Lagni

Rispondi
consultazione
Cisco pathologically enlightened user
Messaggi: 203
Iscritto il: lun 31 ott , 2005 6:10 pm

scusate, con un 877 come posso fare per impostare due ip con nat/pat? cioe' non devo fare connessioni con dialer
praticamente vorrei configurare due ip: un ip privato tipo 192.168.10.1 e un ip pubblico tipo 79.10.10.150
devo impostare due vlan? tipo vlan 1 e vlan 2 assegnando per es. una porta fisica a vlan1 e un'altra porta fisica a vlan2 con switchport access vlan..?

poi devo collegare due cavi rj45 diversi che vanno a finire nello stesso switch o basta un solo cavo di rete?
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Puoi dare entrambi gli IP sulla stessa interfaccia, basta che il secondo aggiungi secondary dopo la maschera.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
consultazione
Cisco pathologically enlightened user
Messaggi: 203
Iscritto il: lun 31 ott , 2005 6:10 pm

Io vorrei fare questo
Imposto due IP uno pubblico e uno privato
Sui PC in rete imposto come gateway l'IP privato e vorrei uscire su internet con l'IP pubblico impostato sul Cisco..

Invece ho fatto alcune prove e alla fine ESCO su internet non con l'IP pubblico impostato sul cisco ma con l'IP pubblico del router Telecom (l'ip della punto punto)

Sembra tutto molto strano....
Datemi una mano

Ho Telecom fibra 100 mega con 8 IP pubblici
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

E' normale.
Devi fare nat sul ip con cui vuoi uscire e non sulla punto punto di Telecom.
Nel forum ci sono diversi esempi.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
consultazione
Cisco pathologically enlightened user
Messaggi: 203
Iscritto il: lun 31 ott , 2005 6:10 pm

ho fatto delle prove e pare che stia funzionando

ho impostato un ip privato (192.168.1.247) e tre ip pubblici, ed effettivamente esce su internet con uno dei tre ip pubblici impostati (79.10.10.73) e non con quello della punto punto :D

quello che pero' non riesco a risolvere e' un altro problema:
funziona tutto, a condizione pero' che il router abbia un indirizzo privato del tipo 192.168.1.* e anche il pc che poi si collega a internet attraverso il router abbia un indirizzo del tipo 192.168.1.*
se provo a mettere per es. tutti indirizzi del tipo 192.168.3.* non funziona piu' niente, eppure utilizzo sempre tutte 255.255.0.0
l'unica macchina che non sono riuscito a cambiare netmask da 255.255.255.0 a 255.255.0.0 e' solamente quel maledetto router telecom, che nell'esempio viene raggiunto tramite l'ip pubblico 79.10.10.78 (vedi riga ip route......)
che razza di problema?
non c'e' soluzione??
non vorrei essere costretto a utilizzare per forza ip 192.168.1.*


datemi una mano :D






Codice: Seleziona tutto

version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco877-247
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 xxxxxx
!
no aaa new-model
crypto pki token default removal timeout 0
!
!
dot11 syslog
ip source-route
!
!
!
ip cef
ip domain name xxxxxxx.com
ip name-server 151.99.0.100
ip name-server 151.99.125.1
!
!
!
!
archive
 log config
  hidekeys
username xxx privilege 15 secret 5 xxxxxxxxxxxxxxxx
!
!
ip ssh version 2
!
!
!
!
!
!
!
interface ATM0
 no ip address
 shutdown
 no atm ilmi-keepalive
!
interface FastEthernet0
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface FastEthernet3
 switchport access vlan 2
 no ip address
!
interface Vlan1
 description lan interna
 ip address 192.168.1.247 255.255.0.0
 ip nat enable
 ip virtual-reassembly in
!
interface Vlan2
 description lan pubblica
 ip address 79.10.10.74 255.255.255.248 secondary
 ip address 79.10.10.75 255.255.255.248 secondary
 ip address 79.10.10.73 255.255.255.248
 ip nat enable
 ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
ip http authentication local
no ip http secure-server
!
ip nat source static 192.168.1.74 79.10.10.74
ip nat source static 192.168.1.75 79.10.10.75
ip route 0.0.0.0 0.0.0.0 79.10.10.78
!
no cdp run
!
!
!
!
control-plane
!
!
line con 0
 exec-timeout 1440 0
 no modem enable
line aux 0
line vty 0 4
 exec-timeout 240 0
 login local
 transport input all
!
scheduler max-task-time 5000
consultazione
Cisco pathologically enlightened user
Messaggi: 203
Iscritto il: lun 31 ott , 2005 6:10 pm

non riesco a capire una cosa:

se faccio il nat statico 1 a 1, allora il pc in rete con locale con un certo ip privato, esce su internet con un certo ip pubblico e le porte aperte sull'ip privato sono direttamente raggiungibili da internet

se per es. faccio 3 regole di nat statico con 3 ip pubblici diversi, 3 pc navigano su internet con ciascuno il proprio ip.. invece tutti gli altri pc che hanno lo stesso router come gateway escono su internet con l'ip della punto punto del router telecom, quello a cui punta il router cisco (quello che sta nel rigo ip route 0.0.0.0 ......)
come si fa per fare in modo che tutti gli altri pc escano su internet con un certo ip pubblico diverso da quello della punto punto?
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ciao.
Devi creare un pool di indirizzi (può essere anche uno solo) dove gli IP della access-list escono con quello.

Codice: Seleziona tutto

ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length}
access-list access-list-number permit source [source-wildcard]
ip nat inside source list access-list-number pool name overload 
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
consultazione
Cisco pathologically enlightened user
Messaggi: 203
Iscritto il: lun 31 ott , 2005 6:10 pm

scusa, dopo mi letto a leggere un po di documentazione su questo pool (che non ho mai utilizzato)
ma nelle righe che hai scritto, dove si specifica quale ip pubblico deve essere utilizzato per uscire su internet?
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Prima riga.

Codice: Seleziona tutto

start-ip end-ip
Nel tuo caso è lo stesso ip.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
consultazione
Cisco pathologically enlightened user
Messaggi: 203
Iscritto il: lun 31 ott , 2005 6:10 pm

allora, aggiornamenti:

con la configugurazione allegata, sono riuscito a fare in modo che vengano usati piu' ip pubblici, in pratica i pc 192.168.1.* escono con un ip pubblico, i pc 192.168.2.* con un altro ip, ecc

tutto pare funzionare, ma c'e' un problema:
internet va lentissimo: tipo se faccio un test di velocita' il download arriva a circa 15 mbit e l'upload a 10 mbit (prova fatta con un solo pc collegato a internet tramite il router, tutti gli altri pc spenti)

invece se imposto un ip pubblico direttamente su un pc, e navigo, il test della velocita' arriva tranquillamente a 80/90 mbit in download e 20 mbit in upload (il contratto e' una fibra 100/20 mega)


sto ipotizzando che l'hardware del cisco 877 e' troppo vecchio..
ci vuole hardware piu' recente? per fare un po' di nat?

non e' che va lento perche' ho usato ip nat enable al posto di ip nat inside/outside?





Codice: Seleziona tutto

version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco877-240
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxxxx
!
no aaa new-model
crypto pki token default removal timeout 0
!
!
dot11 syslog
ip cef
!
!
!
!
ip domain name xxxxxxx.com
ip name-server 151.99.0.100
ip name-server 151.99.125.1
!
multilink bundle-name authenticated
!
!
username xxx privilege 15 secret 5 xxxxxxxxxxxxxxxx
!
!
archive
 log config
  hidekeys
!
!
ip ssh version 2
!
!
!
interface ATM0
 no ip address
 shutdown
 no atm ilmi-keepalive
 dsl operating-mode auto
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
 switchport access vlan 2
!
interface Vlan1
 description lan interna
 ip address 192.168.1.240 255.255.0.0
 ip nat enable
 ip virtual-reassembly
!
interface Vlan2
 description lan pubblica
 ip address 79.10.10.74 255.255.255.248 secondary
 ip address 79.10.10.73 255.255.255.248 secondary
 ip address 79.10.10.75 255.255.255.248
 ip nat enable
 ip virtual-reassembly
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 79.10.10.78
!
!
no ip http server
ip http authentication local
no ip http secure-server
ip nat pool AA 79.10.10.74 79.10.10.74 netmask 255.255.255.248
ip nat pool BB 79.10.10.75 79.10.10.75 netmask 255.255.255.248
ip nat pool CC 79.10.10.73 79.10.10.73 netmask 255.255.255.248
ip nat source list 1 pool AA overload
ip nat source list 2 pool BB overload
ip nat source list 3 pool CC overload
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 2 permit 192.168.2.0 0.0.0.255
access-list 3 permit 192.168.3.0 0.0.0.255
no cdp run
!
!
!
!
control-plane
!
!
line con 0
 exec-timeout 1440 0
 no modem enable
line aux 0
line vty 0 4
 exec-timeout 240 0
 login local
 transport input all
!
scheduler max-task-time 5000


Codice: Seleziona tutto

Cisco 877 (MPC8272) processor (revision 0x400) with 118784K/12288K bytes of memory.
Processor board ID xxxxxxxx
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ATM interface
128K bytes of non-volatile configuration memory.
28672K bytes of processor board System flash (Intel Strataflash)

gheocom
n00b
Messaggi: 18
Iscritto il: mer 23 mar , 2016 9:50 am

salve!!!

anche io sto sbattendo la testa per far viaggiare le vlan dal mio 877 su technicolor di tim....

hai avuto dei sviluppi su questo argomento?
Avatar utente
diegomile
Cisco fan
Messaggi: 30
Iscritto il: ven 14 apr , 2017 3:00 pm

Ways to avail benefits associated with RSS Feed for Blog?

Immagine

Sites can take benefit of an RSS feed concerning producing traffic considerably, along with aid keep that web traffic. The RSS feed instantly includes fresh properly increased web content to your site. This is beneficial to the web traffic retention rate due to the fact it offers the very best kind of upgraded content for your guests.

Immagine

Preserving a niche site can be challenging, when it concerns supplying helpful especially, pertinent and upgraded content. This is a method to have a continuous upgrade to your internet site with fresh content so that it will be seen regularly.


Immagine

Kinds of RSS Feed

Sorts of facts that may be delivered in RSS feeds can consist of a news feed from an important information web page or maybe a weblogs feed. These had been Particularly handy specified that they are frequently upgraded, frequently each day. An posting feed Rewards informing visitors when new small posts and Yet another content of desire to the readership is obtainable. The feed is Typically a summary or intro from which readers can check out far more if most popular.
Agenda feeds can include educational institutions and also other corporations that provide crucial interaction like convention moments, situations, along with other info. On-line forum feeds can notify readers when anyone has dealt with amid his or her posts or when a topic of importance is covered. Specials and Price reduction feeds are in some instances provided by retail and on the web outlets to expose The latest gross sales and discounts.

Relieve of Procedure
That once it is established, accumulating and using an RSS feed is reached with no need to in truth up grade it on your own is really a in addition. Every time an internet online search engine directs site visitors to your website, it will eventually Also file the RSS feed updates.

Other RSS Feed Advantages
With an RSS feed, it is Also possible to, all the more, boost the amount of one of a kind readers that worry your site by syndicating the updates. This strategy can net some back-one-way links on other websites, to improve the whole off-web site Search engine marketing score. Also, it may Also guide to acquire some a lot more unique visitors throughout the immediate inbound links from other web pages and blogs.

RSS Feeds can Recycle Targeted visitors
Because the website aggregates What exactly are acknowledged as crucial authority web-sites by means of an RSS feed, your site might exceptionally nicely end up currently being an authority web site collector. This is extremely beneficial for those who prefer to come across authority web pages in your certain issue. To learn more check out our Web page http://postrss.com

RSS|
Avatar utente
diegomile
Cisco fan
Messaggi: 30
Iscritto il: ven 14 apr , 2017 3:00 pm

How you can avail benefits associated with RSS Feed's for Your Site?

Immagine

Sites can take benefit of an RSS feed concerning producing traffic considerably, along with aid keep that web traffic. The RSS feed instantly includes fresh properly enhanced web content to your site. This is helpful to the net traffic retention rate due to the fact it offers the very best type of upgraded content for your guests.

Immagine

Preserving a niche site can be challenging, particularly when it concerns supplying helpful, pertinent and upgraded content. This is a method to have a continuous upgrade to your site with fresh content such that it will be seen regularly.


Immagine

Kinds of RSS Feed's

Kinds of info that can be supplied in RSS feeds can encompass a news feed from an important information site or possibly a weblogs feed. These were In particular handy supplied that they're routinely upgraded, generally daily. An article feed Advantages informing readers when new limited posts and An additional articles of interest to some readership is offered. The feed is normally a summary or intro from which audience can have a look at a lot more if favored.
Agenda feeds can encompass universities as well as other companies that provide critical conversation like meeting occasions, occasions, as well as other data. On the web forum feeds can notify visitors when anyone has addressed between his or her posts or when a subject of significance is roofed. Specials and Price cut feeds are occasionally provided by retail and online outlets to reveal the most recent income and bargains.

Ease of Procedure
That once it really is set up, accumulating and utilizing an RSS feed is obtained while not having to the truth is update it oneself is actually a additionally. Anytime a web based online search engine directs visitors to your website, it can Furthermore record the RSS feed updates.

Other RSS Feed Pros
With an RSS feed, it truly is Similarly achievable to, much more, enhance the amount of unique people that problem your site by syndicating the updates. This system can Internet some back again-backlinks on other sites, to reinforce the overall off-web page Search engine marketing ranking. Also, it might Also guide to acquire some additional exclusive site visitors with the direct back links from other web sites and weblogs.

RSS Feeds can Recycle Targeted visitors
Since the web-site aggregates Exactly what are acknowledged as essential authority websites by an RSS feed, your internet site may well really very well turn out getting an authority internet site collector. This is extremely beneficial for people who choose to come across authority internet sites with your particular subject. To learn more stop by our Web page http://postrss.com

RSS|
Avatar utente
diegomile
Cisco fan
Messaggi: 30
Iscritto il: ven 14 apr , 2017 3:00 pm

Ways to avail great things about RSS for Your Site?

Immagine

Sites can take good thing about an RSS feed concerning producing traffic considerably, along with aid keep that web traffic. The RSS feed instantly includes fresh properly increased web content to your site. This is helpful to the web traffic retention rate due to the fact it offers the very best kind of upgraded content for your website visitors.

Immagine

Preserving a niche site can be challenging, when it pertains to supplying helpful especially, pertinent and upgraded content. This is the best way to have a continuous upgrade to your website with fresh content so that it will be observed regularly.


Immagine

Types of RSS

Forms of data that could be presented in RSS feeds can consist of a information feed from a big news internet site or maybe a blogs feed. These have been Primarily helpful given that they're regularly upgraded, commonly daily. An write-up feed Added benefits informing viewers when new quick content and A different content material of curiosity into a readership is offered. The feed is Commonly a summary or intro from which visitors can take a look at more if desired.
Routine feeds can include faculties along with other organizations that present vital interaction like conference periods, situations, and also other info. On the web Discussion board feeds can notify readers when any individual has addressed amongst their posts or when a topic of importance is roofed. Specials and Low cost feeds are sometimes supplied by retail and on-line stores to expose The latest revenue and bargains.

Relieve of Operation
That once it's proven, accumulating and making use of an RSS feed is obtained while not having to in reality improve it on your own is actually a additionally. Each time an internet based search engine directs people to your website, it will eventually Furthermore file the RSS feed updates.

Other RSS Feed Benefits
With the RSS feed, it is actually Similarly doable to, far more, enhance the amount of special people that worry your web site by syndicating the updates. This strategy can Internet some back again-inbound links on other websites, to reinforce the whole off-webpage Search engine optimization rating. Also, it might Also aid to acquire some a lot more unique visitors in the immediate backlinks from other internet sites and weblogs.

RSS Feeds can Recycle Website traffic
As the site aggregates what are acknowledged as important authority internet sites by an RSS feed, your website may really effectively turn out becoming an authority web site collector. This is extremely beneficial for those who prefer to find authority sites on the specific matter. To find out more check out our Site http://postrss.com

RSS|
Rispondi