Using the Juniper EX3300 Switch as a router?

Posted by Richard Whitman on Server Fault See other posts from Server Fault or by Richard Whitman
Published on 2012-06-22T17:38:36Z Indexed on 2012/06/23 3:18 UTC
Read the original article Hit count: 568

Filed under:
|

I have a Juniper EX3300 switch in a data center. And I have connected one of the uplink ports (ge-0/1/0) to my ISP's router. I want to configure it so that all the devices connected to ports in the same VLAN as ge-0/1/0 can access the Internet. I have done some research, and I haven't gotten anywhere really.

I have configured the interface as follows:

ge-0/1/0 {
    ether-options {                 
        no-auto-negotiation;
        link-mode full-duplex;
        speed {
            1g;
        }
    }
    unit 0 {
        family inet {
            address xx.xx.xx.xx/32;
        }
    }
}

where xx.xx.xx.xx is the "Customer Router Port IP" assigned by my ISP.

When I try to commit, I get the following error:

Interface ge-0/1/0.0 not enabled for switching

Can some one tell me what is the right way to configure it?

© Server Fault or respective owner

Related posts about juniper

Related posts about junos