Re: [cisco-ttl] Dhcp on multiple vlans

From: Ulas Aydin <uaydin_at_....>
Date: Fri Mar 17 2006 - 12:09:36 EET


Merhaba Ogulcan Ercan,

Switch te ip helper komutu iletilemiyor malesef

Merhaba Ahmet Tombak,

877 4 adet fastethernete sahip ancak interfacelere ip adresi atanamyor sadece bir portu trunk yaplabiliyor ve sub interface oluturulamyor malesef, ayrca swicthte belirli bir vlana atadm iki porttan birini bilgisayara dierini routera baladmda router da yarattm ve o vlana ait interface i pingliyemiyorum yaplan konfigler aada

Switch

vlan data
 vlan 2 name x
 vlan 3 name y
 vlan 4 name z
 vtp domain deneme
exit
conf t

int fa0/1
 switchport mode trunk
int range fa0/2 - 8
 switchport mode access
 switchport access vlan 2
int range fa0/9 - 16
 switchport mode access
 switchport access vlan 3
int range fa0/17 - 24
 switchport mode access
 switchport access vlan 4

Router:

    conf t

int fa0
 switchport mode trunk
int vlan 2
 ip address 192.168.2.1 255.255.255.0
int vlan 3
 ip address 192.168.3.1 255.255.255.0
int vlan 4
 ip address 192.168.4.1 255.255.255.0

exit

ip dhcp pool vlan2
 network 192.168.2.0 255.255.255.0
 default-router 192.168.2.1
 import all
ip dhcp pool vlan3
 network 192.168.3.0 255.255.255.0
 default-router 192.168.3.1
 import all
ip dhcp pool vlan4
 network 192.168.4.0 255.255.255.0
 default-router 192.168.4.1
 import all
exit

ip dhcp excluded-address 192.168.2.1
ip dhcp excluded-address 192.168.3.1
ip dhcp excluded-address 192.168.4.1

Router vtp client mode da alyor router on a stickten uza bir konfigurasyon oldu ama gene de neden pingliyemediimi anlamadm..

> 870 iin zel bir durum var m denemek gerek lakin
> ksaca;
>
> routerda;
>
> ip dhcp pool metro-pool
> network <network adresi><network mask>
> dns-server <dns ip>
> default-router <router ip>
>
> (poolda rezervasyon varsa-opsional)
> ip dhcp excluded-address <network adrs.> <rzrvsyn ip>
>
> switchte;
>
> (routerda nat yaplyorsa vlanlarda)
> ip-helper address <router ip>
>
> olmas gerekir.
>
>
> --- Ulas Aydin <uaydin@bimel.com.tr> wrote:
>
>> Merhaba,
>> Elimde bir cisco 877 router ve 2950 switch var .
>> Switch te 3 tane vlan
>> yaratp router zerinden adsl ile internete
>> karcaz ancak ortamda bir dhcp
>> server yok dolaysyla pc lere ipleri router n
>> databilmesi iin ne gibi
>> bir konfigrasyon yapmak gerekir . Teekkrler
>>
>> [Non-text portions of this message have been
>> removed]
>>
>>
>>
>>
>>
>>
>> --
>> Cisco Teknik Tartisma Listesi (Cisco-ttl)
>>
>> Bu listede onerilen degisikliklerin uygulanmasindaki
>> tum sorumluluk
>> kullaniciya aittir. Liste yoneticileri, oneride
>> bulunan liste uyeleri ya da
>> bu uyelerin calistigi kuruluslar herhangi bir
>> sekilde sorumlu tutulamazlar.
>> Yahoo! Groups Links
>>
>>
>> cisco-ttl-unsubscribe@yahoogroups.com
>>
>>
>>
>>
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

--
Cisco Teknik Tartisma Listesi (Cisco-ttl)

Bu listede onerilen degisikliklerin uygulanmasindaki tum sorumluluk 
kullaniciya aittir. Liste yoneticileri, oneride bulunan liste uyeleri ya da 
bu uyelerin calistigi kuruluslar herhangi bir sekilde sorumlu tutulamazlar. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cisco-ttl/

<*> To unsubscribe from this group, send an email to:
    cisco-ttl-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
Received on Fri Mar 17 12:08:52 2006

This archive was generated by hypermail 2.1.8 : Fri Mar 17 2006 - 12:08:52 EET