My Community Dashboard

  • Hello support
    I continue work with ClearOs and here i got some blocage
    In fact i need a bit of help to define a default route on VLAN

    In my configuration, i have two interfaces (LAN p3p2 for configuration and WAN's one p3p1-- and 7 VLANs (p3p1.100 for ex) which are configured on WAN interface.
    Now, when i checked the command route, i have the gateway of my WAN interface like default gateway (
    1- As i wanted to define another default gateway, i configure a new file on /etc/sysconfig/network-scripts/route-p3p1.100 like this --> via dev p3p1.100 ( i got this in a forum ;-))
    After that, i checked again route's command and noticed that nothing have change.
    So, i can't modify default route

    2- Furthermore, i wanted to define statics route on my network. How must i proceed ?

    3- My 3rd need is the following : when i tried to update my clearos doing (yum update) i got this kind of message...

    One of the configured repositories failed (CentOS-7 - x86_64 - Base),
    and yum doesn't have enough cached data to continue. At this point the only
    safe thing yum can do is fail. There are a few ways to work "fix" this:

    1. Contact the upstream for the repository and get them to fix the problem.

    2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

    3. Run the command with the repository temporarily disabled
    yum --disablerepo=clearos-centos ...

    4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

    yum-config-manager --disable clearos-centos
    subscription-manager repos --disable=clearos-centos

    5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice

    yum-config-manager --save --setopt=clearos-centos.skip_if_unavailable=true

    failure: repodata/4d4dc40fb11b7102131fd8a036c9fbd77c6b19ac319fc020e59182f999f5162f-primary.sqlite.bz2 from clearos-centos: [Errno 256] No more mirrors to try.

    Voila ! Can you help me please ?
    Thank you in advance.