RRAS - Server 2012 Core - How to enable 'LAN Routing'

Hi,
how can i enable 'LAN Routing' on a Server core with RRAS Role installed via command line?
In GUI it's just 'Enable' -> Custom -> LAN-Routing. How can i do the same via command line (powershell or cmd)?
Thank you!

Ok, solved it myself. (Don't know why i always solve a Problem as soon as i make a post in Forums ;D)
Set-NetIPInterface -Forwarding Enabled
so for enable Forwarding on all Adapters:
Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled

Similar Messages

  • Unable to install windows features on windows server 2012 core datacenter

    If I attempt to install, remove, or get windows features via powershell in windows server 2012 core datacenter I get the following error:
    PS C:\Users\BB> Invoke-Command -ComputerName CORE1 {Install-WindowsFeature Web-CertProvider}
    The given key was not present in the dictionary.
        + CategoryInfo          : NotSpecified: (:) [Install-WindowsFeature], KeyN
       otFoundException
        + FullyQualifiedErrorId : System.Collections.Generic.KeyNotFoundException,
       Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
        + PSComputerName        : CORE1
    I get the same error regardless of weather I use install-windowsfeature, remove-windowsfeature or get-windowsfeature. I've tried it on the server, and remotely.
    I've also tried managing the computer remotely using another windows 2012 server using the server manager GUI. That causes the server manager to crash with the following error:
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: servermanager.exe
      Problem Signature 02: 6.2.9200.16384
      Problem Signature 03: 50107b22
      Problem Signature 04: mscorlib
      Problem Signature 05: 4.0.30319.17929
      Problem Signature 06: 4ffa57ca
      Problem Signature 07: 210b
      Problem Signature 08: c
      Problem Signature 09: N3CTRYE2KN3C34SGL4ZQYRBFTE4M13NB
      OS Version: 6.2.9200.2.0.0.400.8
      Locale ID: 1033
      Additional Information 1: 7a77
      Additional Information 2: 7a77983701ecc7870d72712ffa4c3c88
      Additional Information 3: 0b4b
      Additional Information 4: 0b4b0ba1592ebbc56adc05832bb92aa6
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=190175
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    The server is running all Microsoft updates. Rebooting doesn't help. I've checked the event logs and I don't see anything relevant.
    Help!
    Thanks
    Brad

    Hi,
    I would like to suggest you first run get-windowsfeature command on the core locally not remotely. And if it works, then try to remote run it.
     Invoke-Command -ComputerName CORE1 {get-WindowsFeature }
    Regards,
    Yan Li
    Cataleya Li
    TechNet Community Support

  • Need help installing sql server 2012 on windows server 2012 core

    Hi Guys 
    I am having trouble installing sql server 2012 on windows server 2012 core. I am doing this on VM and my VM is not connected to internet. 
    This setup is part of preparing lab for sql serve exam 70-462. I would really appreciate your help.
    I am including the links to the log files that were generated after installation. There are following 2 files
    Component Update and
    Detail_Global_Rules
    Thanks

    Hi
    iworkonline,
    Regarding to your original question, you can work around it according to Prashanth’s post or unclick the “Include SQL Server Product Updates" checkbox when installing SQL Server on your VM.
    Regarding to your second question, I make a test using TechNet Virtual Lab and everything works as expected . Below are my steps.
    1. Choose Web client after laughing the Lab.
    2. Choose SQLONE machine and “OPEN CHARMS” as follows, then search SQL Server Management Studio, use it to connect to the default instance (which has been installed in the lab).
    From your description, you get error message “Device not ready”. Could you please post more details? Are you installing SQL Server 2012 on the TechNet Virtual Lab?
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Enable Lan Routing Windows Server 2012

    Hi!
    I'm trying to setup the RRAS in a Windows server 2012 to route between my two networks. I have a windows server 2012 with two nics and the RRAS installed. I installed "Lan Routing" custom option.
    My configuration is:
    Server nic1 - 192.168.1.254 255.255.255.0 (no dfgateway)
    Server nic2 - 192.168.103.54 255.255.255.0 (no dfgateway)
    Clients subnet1 - 192.168.1.x 255.255.255.0 192.168.1.254
    Clients subnet2- 192.168.103.x 255.255.255.0 192.168.103.54
    The problem is that from a client of subnet1 i can ping 192.168.1.254 and 192.168.103.54 but i can't ping clients of subnet2, and backwards  the same problem.
    Thanks.

    Your client machines need to know how to find the route to the other subnet.
    1) So on a client on subnet 1, open a Command Prompt and type:
    route add -p 192.168.103.0 mask 255.255.255.0 192.168.1.254
    This adds a permanent route which tells the client to go to 192.168.1.254 to find network 192.168.103.0
    2) On the clients on subnet2 you would type:
    route add -p 192.168.1.0 mask 255.255.255.0 192.168.103.54
    Make sure the clients have the appropriate server NIC address as their default gateway and DNS.
    For example, for clients on subnet1:
    IP: 192.168.1.x
    Gateway: 192.168.1.254
    DNS: 192.168.1.254
      That is misleading at best. The original post is a straight forward example of subnet to subnet routing. No additional routes are required because the default routing is quite adequate. If you look at the addresses of the static routes you provide
    you will see that they are the same as the default addresses already set (so they are redundant).
    Ping is not a reliable test of connectivity any more. Built-in firewalls will block it by default. You will need to temporarily disable the firewalls of the clients to test with ping (unless you enable ICMP echo in both directions on all clients).
    Bill

  • Uninstall Active Directory from DC (Win server 2012 Core)

    Hello All,
    How can I uninstall Active Directory from the additional domain controller that runs WS 2012 Core. Which tool should I use?
    Uninstall-addsdomaincontroller
    Uninstall-windowsfeature
    Remove-windowsfeature
    ntdsutil

    Hi Kaoizm,
    You can refer the following article:
    Demoting Domain Controllers and Domains (Level 200)
    https://technet.microsoft.com/en-us/library/jj574104.aspx?f=255&MSPPError=-2147217396
    What is the simplest command line to dcpromo *down* a Server Core machine?
    http://blogs.technet.com/b/migreene/archive/2008/04/25/3045099.aspx
    More related third party article:
    Demote Server Core Domain Controller (2012)
    http://blog.allford.id.au/2014/demote-server-core-domain-controller-2012/
    Safely Demote a Windows 2008/r2 Core Domain Controller
    http://blog.ittoby.com/2013/06/safely-demote-windows-2008r2-core.html
    I’m glad to be of help to you!
    *** This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these
    sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use
    of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. ***
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Sql Server 2012 Evaluation - How many connection allowed ?

    Hi all
    I'm testing the replication, everything Works fine, but I'd like to know how many connections allow the evaluation of the SQL Server versión I'm testing on.
    We are testing 2 stores with 2 server in replica with about 20 users in each side. So we can get an idea of the prices of the licences my customer have to buy.
    Thank you very much.
    James Smiths

    SQL 2012 license usually is per core and/or per CAL and it depends on the edition.
    All editions don't impose any limit on connections but rather on maximum memory, CPUs and other features.
    You need first to decide which SQL version suits your needs (and your hardware) and then call for suggestions and prices.
    http://www.mssqltips.com/sqlservertip/2942/understanding-the-sql-server-2012-licensing-model/
    http://www.microsoft.com/en-us/server-cloud/products/sql-server/buy.aspx
    "If there's nothing wrong with me, maybe there's something wrong with the universe!"

  • Server 2012 R2 how to view RDP user network use?

    Hi All,
    In Server 2008 you were able to go into tsadmin, click right on a user and click "Status" which would show their network usage (bytes received, bytes sent).
    I noticed in Server 2012, when I check users under Collections this option is no longer there. How can I view a user's network usage?

    Hi,
    I would like to check if you need further assistance.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Server 2012 R2: How do I set VLAN data for the Host Virtual Switch (via PowerShell)?

    I need to modify the Host (NOT the VM's) VMSwitch VLAN settings via Powershell for automation purposes.
    In Server 2012 (NOT R2), this can be done via modifying
    MSVM_VLANEndPointSettingData
    However, it seems in Server 2012 R2, that class is gone. I've manually searched through the MSVM classes, and it seems that the Host VMSWitch VLAN settings are stored
    in MSVM_EthernetSwitchPortVlanSettingData. Unfortunately, I have no way of tying that class to a specific VMSwitch.
    Any know how to do this on Server 2012 R2?

    Hi,
    I found some similar issue with your case, however this forum is not focus on the develop related issue,
    Therefore I suggest you more about the develop question please post to the MSDN forum.
    The related information:
    Problem with CPU load and WMI errors when Hyper-V is installed?
    http://social.technet.microsoft.com/Forums/windows/en-US/4eca1f42-8630-48b4-85fa-e9569445d832/problem-with-cpu-load-and-wmi-errors-when-hyperv-is-installed
    The third party solution:
    How to: Fix error 0x80041010 on Windows 8.1 + Hyper-V
    http://www.seankilleen.com/2013/11/how-to-fix-error-0x80041010-on-windows.html
    MSDN forum Developer Network
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=WAVirtualMachinesVirtualNetwork&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding and support.
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Pre-Requisite Check SQL Server 2012 SP2 TCP Port Enabled Error

    When doing the pre-requisite check to install SCCM (CAS) using an instance of SQL Server 2012 SP2, you get the following error even though SQL Server TCP port has been enabled, set to static port 4022 on the IP addresses in use in SQL Server Configuration
    Manager under Protocols for <SQLInstanceName>: configuration manager primary site and central administration site require sql server tcp enables and set to static port
    To resolve this issue, make sure "4022" is also set in the IPAll node in SQL Server Configuration Manager under Protocols for <SQLInstanceName> then restart the SQL Service and re-run the pre-requisite check and you should be good to go.
    To avoid SCCM SQL-related install failure, keep in mind that SCCM SQL Service Broker (SSB) (used to replicate data between database sites) is set to port 4022 by default. This is different from and cannot be same as the tcp static port set in SQL Server
    Configuration Manager under Protocols for <SQLInstanceName>. For example SSB can use its default tcp port 4022 while a static tcp port of 4023 can be set in SQL Server Configuration Manager under Protocols for <SQLInstanceName> or vice-versa. The
    SCCM SSB port number can be adjusted during SCCM installation on the Database Information page. My take it so change SSB port to 4023 and leave SQL default port at 4022 since SQL serves potentially many apps while SSB is used within/by SCCM.
    If you are getting errors relating to SQL Server service running accounts, SQL Server Collation, and/or SQL Server sysadmin rights while attempting to install a primary site, unselect the SCCM installation option to install default settings at the beginning
    of the install process.
    Also, ensure to install important updates and restart the server.

    Thank you for sharing.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SQL Server 2012 Database with FileStream enabled tables

    Hi,
    I have some questions concerning the SQL Server 2012 FileStream feature.
    In a database combining both Filestream connected tables and none filestream connected tables. It is obviously possible to tell the root path to a filestream FILEGROUP. It's also possible to create database primary data file (.mdf) and several
    optional secondary data files (.ndf), and multiple log files.
    If I have two filestream connected tables, which each in turn have a couple of other referenced tables (none filestream connected). Is it possible to put the filestream filegroup1 (eg. the filestream connected table1) and its referenced none filestream connected
    tables, their data, indexes etc., on the same physical data file? And the other filestream connected table and its referenced tables to another physical file (.ndf)? If this is possible and recommended, how do I declare such an create database statement?
    For ex. when having tables for both none archived state, archived state, in the same database. Or is the best solution to split the two (and its referenced tables) in separate databases?
    SWEDEV

    Hello,
    File groups a just contains for the objects, you e.g. can split one table over several file Groups/secondarie files using partitioning. And a filestream is also just a table. You can reference all table Independent of file Groups / file stream.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Upgrading domain controller from Server 2003 to Server 2012 R2, how will this affect Exchange 2010?

    Hi All,
    Below is an AD and Server related post that I had submitted last week. While I did receive valid responses for the post, I was advised to check with the Exchange forums for the Exchange related  question in
    bold. All responses are welcomed, thank you!
    ===========================================================
    Hi All,
    I am hoping that someone could perhaps provide some insight on this topic as I apparently can't seem to google the best answer.
    I have recently acquired an AD domain that is running on a 2003 domain controller. I have been tasked with upgrading our existing domain structure with 2012 R2 domain controllers for our main office and remote offices.
    The domain name is company.mynetwork.com, and it is the default first site name. We have multiple offices throughout the US with their own domain controllers (i.e. FL.mynetwork.com, NY.mynetwork.com, DC.mynetwork.com, etc.).
    Our main office, and default first site has one domain controller (mynetdc1) running Server 2003 R2. It is also our only DNS server for the main office. It also has an additional domain controller called mynetmaster3 which is running Server 2003.
    Both mynetdc1 & mynetmaster3 NTDS settings show them as global catalogs under AD Sites & Services. Both servers are also in the AD Domain Controllers OU, along with all of the other satellite office domain controllers.
    Additionally, our main office is running Exchange 2010 with the latest service pack. My questions are:
    Can we demote and retire mynetmaster3, then replace mynetdc1 with a newly promoted 2012 R2 global catalog domain controller without harming anything in the domain tree and interrupting connectivity to the other offices (this of course goes without saying
    after a 4 hour maintenance window to get the task completed has passed)?
    Should we upgrade the satellite offices first after raising the functional level for mynetdc1, or should we do the opposite (upgrade main office, then satellite offices)?
    MS Exchange 2010 is heavily dependent on AD, what effect will this entire project have on our email server? What steps should we take beforehand to ensure email continuity?
    Finally, is there any shame for a Net Admin to suggest that we hire an implementation specialist for this task? :)
    Any advice would be greatly appreciated!

    As long as the operating system on your Exchange servers isn't upgraded, and as long as you do the Active Directory domain and forest updates in the supported manner (the following link is a good example -
    http://blogs.msmvps.com/mweber/2012/07/30/upgrading-an-active-directory-domain-from-windows-server-2003-or-windows-server-2003-r2-to-windows-server-2012/), Exchange will happily operate behind the scenes.  Exchange 2010 is supported in the Windows
    forests (domain controllers, domain functional level and forest functional level) mentioned in the following TechNet article, which includes both Windows 2003 and Windows 2012.
    http://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx
    Due to this, you should be good as long as you do the domain controller, domain, and forest upgrades carefully.  Oh, and before you start each step, get a nice backup.

  • How to enable source routing on outgoing packets?

    Hi all
    Perhaps some of you can help me with this. I recently read http://enclaveforensics.com/Blog/files/ … 8d9-5.html about loose source routing, and would like to do the experiment myself in an isolated network dedicated for testing purposes.
    I know how to filter source routed traffic with firewalls (ip-tables), but have no idea of how to enable either loose or strict source routing in the ip-headers for those packets i'm sending out. Maybe there are some kind of setting in some configuration-file? Or are we talking the source code of an application? Kernel compilation setting? Please let me know, if you know how to do it.
    And also please notice this: I've got no malicious intentions. I will only perform this in an isolated network dedicated for testing purposes. So please do not accuse me for beeing a cracker/hacker/whatever...
    Thankyou

    the best way to actually enable it system-wide is to use mangle table of iptables to manually enable the ipv4 options and adding the routing info with each packet, on the other hand, you can create a program with python's scapy that does LSRR and SSRR.
    Last edited by Sin.citadel (2010-07-01 12:00:07)

  • How to enable ospf routing protocol using onePK API

    hi,
    I am new to CIsco routers. I want to enable a routing protocol using OnePk API. is it possible to do so?
    Thanks in advance

    Hey @ajeni0001,
    So far, there is not any document related to enabing OSPF using onePK. 
    As soon as I get something in the web I'll let you know.
    Rgrds,
    Martin, IT Specialist

  • SQLSvrStdCore 2014 SNGL MVL 2Lic CoreLic on a Single Processor Server (4 Cores) How many licenses needed ?

    Hi Guys...
    I am abit confused with the latest SQL Server processor licensing and this Core Factor Table.
    Am thinking of putting in a new SQL Server on a HP Server with a single
    Intel® Xeon® E5-2407 v2 (4 core, 2.4 GHz, 10MB, 80W) Processor. How many of the (SQLSvrStdCore 2014 SNGL MVL 2Lic CoreLic) licenses would I need to purchase for the above Server ? Will not be virtualised.
    Also with this license am I entitled to use SQL Server 2008r2 instead on this Server ?
    Thanks

    Hello,
    Since the question is a license issue, you can call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific
    Time) to speak directly to a Microsoft licensing specialist. You can also visit the following site for more information and support on licensing issues:
    http://www.microsoft.com/licensing/mla/default.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • IIS Manager for Server 2012 Core

    Is there a command that I can run to access the gui for IIS Manager. I need to access the certification request, but keep reading it is impossible to do from core. If so, how are you to create a certificate request from a core version?

    You have accidentally posted your question in Microsoft Project Server specific forum , consider re-posting your question using appropriate 
    forum for faster and expert response, I think following forum might be appropriate
    http://social.technet.microsoft.com/Forums/en-US/home?forum=winservercore
    Hrishi Deshpande Senior Consultant

Maybe you are looking for

  • Repots( closing balance of a vendor)

    hi. i want to show the closing balnace of a vendor. in my report opening balance is coming. but if today i am displaying the report then it should be display the vendor's yesterday  closing balance . means at which date i will display the report the

  • How to empty the trash? The process end without delete

    I need help on how to empty the trash - it is 48900 items to be deleted and the process ends without deleting anythng.

  • Computer vs User Accounts on Windows PC

    Trying to set up iTunes Match but concerned by warning about the computer being associated with e Apple ID. It is a family PC and other users have their own iTunes accounts as Users on the PC. By accepting does this mean they can not use their Apple

  • Multiple statements from one connection causes ORA-0100 Maximum open cursor

    HI, I am creating a connection and trying to run 2 statements off the connection. The connection has autocommit as false as I want to commit only after the second statement commits successfully. Upon executing the second statement, I get the ORAC-010

  • How to add my own Layouts

    Hi Can anyone tell me where/how to add my own layouts so they are available in the New File dialogue? I'm on CS3 by the way. I'm sure I managed this way back in MX but just can't remember how. Many thanks Jon