Ethernet Switching
Highlighted
Ethernet Switching

captive-portal on EX4200 switch

‎11-17-2012 09:24 AM

Hi,

 

I have one EX4200 switch running 11.1R6.4.

 

I am trying to simulate captive-portal authentication scenario but it didn't work. My topology just one vlan as

 

PC  -------> (ge-0/0/1) EX4200 (L3 vlan)  (trunk port) ----> router

 

PC IP is 10.10.0.11

EX IP is 10.10.0.3

Router IP is 10.10.0.1

 

when I enable captive-portal I couldn't access the router (I consider it as resource trying to access through http, https & ping). Trying to by-pass my PC mac address through white-list but same result. using secure-authentication https/ http no news. So anyone tried before and worked with him

 

I tried this example but not working

 

http://www.juniper.net/techpubs/en_US/junos11.1/topics/example/authentication-captive-portal.html

 

show system services
ssh;
telnet;
web-management {
    http;
    https {
        system-generated-certificate;
    }
}

 

show services captive-portal                     
interface {
    ge-0/0/1.0 {
        supplicant multiple;
    }
}
secure-authentication https;

Regards,

Mohamed

Regards,
Mohamed Elhariry
2* JNCIE (SEC # 159, SP # 1059),JNCIP-ENT

[Click the "Star" for Kudos if you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]
1 REPLY 1
Highlighted
Ethernet Switching

Re: captive-portal on EX4200 switch

‎11-19-2012 04:11 PM

Hi Mohamed,

 

I believed you have missed out the authentication portion. You can authenticate to Radius or Local User Database.

 

access {
    radius-server {                     
        10.10.10.254 secret "$9$qPT3ApBSrv69rvWLVb.P5Q69tuORcy"; ## SECRET-DATA
    }
    profile RADIUS_PROFILE {
        authentication-order [ radius password ];
        radius {
            authentication-server 10.10.10.254;
        }
    }
}

 

captive-portal {
    authentication-profile-name RADIUS_PROFILE;
 }